Random Label Assigner (Data)


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

Input Ports

  1. Type: Data Should contain the class names (StringCell) and probabilities for each class (DoubleCell)
  2. Type: Data Original Data

Output Ports

  1. Type: Data The rows from InPort1 with one additional column, containing the new classes

Find here

IO > Other > Modular Data Generation > Categorical

Make sure to have this extension installed:

KNIME Data Generation

Update site for KNIME Analytics Platform 3.7:
KNIME Analytics Platform 3.7 Update Site

How to install extensions