Hub
Pricing About
NodeNode / Manipulator

Random Label Assigner (Data)

IOOtherModular Data GenerationCategorical
Drag & drop
Like

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

Node details

Input ports
  1. Type: Table
    ClassNames and Probs
    Should contain the class names (StringCell) and probabilities for each class (DoubleCell)
  2. Type: Table
    Data table
    Original Data
Output ports
  1. Type: Table
    Data table with new class
    The rows from InPort1 with one additional column, containing the new classes

Extension

The Random Label Assigner (Data) node is part of this extension:

  1. Go to item

Related workflows & nodes

  1. Go to item
  2. Go to item
  3. Go to item

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits