0 ×

Random Label Assigner

KNIME Data Generation version 4.3.0.v202011191409 by KNIME AG, Zurich, Switzerland

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.


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

Input Ports

Simply data, (as the node does not use any information in this data, there are no constraints)

Output Ports

The original data with one new string column.

Best Friends (Incoming)

Best Friends (Outgoing)



To use this node in KNIME, install KNIME Data Generation from the following update site:


A zipped version of the software site can be downloaded here.

You don't know what to do with this link? Read our NodePit Product and Node Installation Guide that explains you in detail how to install nodes to your KNIME Analytics Platform.

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. Browse NodePit from within KNIME, install nodes with just one click and share your workflows with NodePit Space.


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.