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.
If the optional PMML inport is connected and contains preprocessing
operations in the TransformationDictionary the conversion operations
of this node are appended.
Dialog 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.
Ports
Input Ports
0 |
Data |
1 |
Optional PMML document to add the normalization operations to. |
Output Ports
0 |
Data with transformed columns |
1 |
PMML port object that includes the performed operations. |
This node is contained in KNIME Base Nodes
provided by KNIME GmbH, Konstanz, Germany.