The following node is available in the Open Source KNIME predictive analytics and data mining platform version 2.7.1. Discover over 1000 other nodes, as well as enterprise functionality at http://knime.com.
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.
0 | Data |
1 | Optional PMML document to add the normalization operations to. |
0 | Data with transformed columns |
1 | PMML port object that includes the performed operations. |