Spark Category To Number

Maps nominal column to double columns.

Options

Mapping type
The mapping type to use.
  • Column: Uses a separate dictionary for each column
  • Global: Uses a global dictionary for all columns
  • Binary: Converts the selected columns into binary vectors by generating a new column for each unique column value.
Keep original columns
Select this option to keep the original columns otherwise all selected columns to convert are removed from the output table.
Columns to convert
The columns to convert

Input Ports

Icon
Input Spark DataFrame/RDD.

Output Ports

Icon
Mapped input Spark DataFrame/RDD
Icon
PMML mapping dictionary

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.