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


This node is part of the extension

KNIME Data Generation


Short Link

Drag node into KNIME Analytics Platform