Spark Number To Category (Apply)

This node takes columns with numerical data and maps every number to the former category string. The information for the value mapping is taken from the PMML model.

This node is typically used to apply the same mapping found by a Spark Category To Number node.

Options

Keep original columns
Select this option to keep the original columns otherwise all selected columns to convert are removed from the output table.
Column suffix
The column name of the computed columns are the name of the column in the input appended by this suffix.

Input Ports

Icon
PMML document containing value mapping
Icon
Spark DataFrame/RDD to process

Output Ports

Icon
Spark DataFrame/RDD with transformed columns

Views

This node has no views

Workflows

Further Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.