One to Many (PMML)

Transforms all possible values in a selected column each into a new column. The value is set as the new column's name, the cell values in that column are either 1, if that row contains this possible value, or 0 if not.
The node appends as many columns as possible values are defined for the selected column(s).
If a row contains a missing value in a selected column all corresponding new columns contain the value 0.
To avoid duplicate column names with identical possible values in different selected columns, the generated column name includes the original column name in this case (i. e. the name looks like possibleValue_originalColumnName).
The dialog of the node allows you only to select columns with nominal values. If no column name appears in the dialog but your input table contains nominal columns, you could use the DomainCalculator node and connect its output to this node.

Options

Columns
Select the nominal columns that should be included in the transformation. For each included column extra columns are appended, one for each possible value.
Remove included columns from output
Included columns are replaced by the new generated columns.

Input Ports

Icon
Data

Output Ports

Icon
Data with transformed columns
Icon
PMML port object that includes the performed operations.

Views

This node has no views

Workflows

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.