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.

Random Label Assigner

Assigns the labels based on the probabilities to the rows. Here we use the class names and the probabilities given in the dialog to assign the new class column. Categories with empty names or a probability less or equal to 0 are ignored.

Dialog Options

Column Name
the name of the new column
Seed
the random seed to produce a deterministic result
Name of column
the name of the new column
Probability
the probability of this category
Table actions
+ add a new row, - remove selected row, N normalize selected column

Ports

Input Ports
0 Simply data, (as the node does not use any information in this data, there are no constraints)
Output Ports
0 The original data with one new string column.
This node is contained in KNIME Datageneration provided by KNIME GmbH, Konstanz, Germany.