0 ×

Random Label Assigner (Data)

KNIME Data Generation version 4.1.0.v201911110939 by KNIME AG, Zurich, Switzerland

Assigns the labels based on the probabilities to the rows. For each row on inPort 1 a new StringCell is created randomly. Distribution for this new class column (respectively the name of the class and the probabilities) is read from the file on InPort 0


Column name
the name of the new column
the random seed to produce a deterministic result
Name of category
The column of the first table containing the names of the categories
The column of the first table containing the probabilities to the categories

Input Ports

Should contain the class names (StringCell) and probabilities for each class (DoubleCell)
Original Data

Output Ports

The rows from InPort1 with one additional column, containing the new classes

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. 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.


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.