0 ×

One to Many (PMML)

DeprecatedKNIME Base Nodes version 4.2.2.v202009241438 by KNIME AG, Zurich, Switzerland

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.

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
Icon
Optional PMML document to add the normalization operations to.

Output Ports

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

Installation

To use this node in KNIME, install KNIME Base nodes from the following update site:

KNIME 4.2

A zipped version of the software site can be downloaded here. Read our FAQs to get instructions about how to install nodes from a zipped update site.

Wait a sec! You want to explore and install nodes even faster? We highly recommend our NodePit for KNIME extension for your KNIME Analytics Platform.

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.