Many to One (PMML)

Transforms the values of multiple columns into a single column depending on the include method and documents the transformation in PMML. If set to binary the condensed column's value is set to the name of the first column with value 1. If the include method is maximum or minimum the value of the condensed column is set to the name of the column which, of all included columns, has the largest or smallest value. If the include method is binary and all columns are 0 the condensed column will contain a missing value.

Options

Columns
The columns to be condensed into a single column using the selected include method.
Condensed column name
The name of the appended column.
Include method
The method to condense multiple columns into one.
  • Binary: Only the column with value "1" matches.
  • Maximum: The column with the maximum value in each row matches.
  • Minimum: The column with the minimum value in each row matches.
  • RegExpPattern: The column matching the provided regular expression pattern matches.
Include pattern
When include method is RegExpPattern, this is the pattern used.
Keep original columns
Determines whether the included columns are kept or not.

Input Ports

Icon
Data.

Output Ports

Icon
Data with transformed columns.
Icon
Transformed PMML input.

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.