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 the second input port a new string is created randomly. Distribution for this new class column (respectively the name of the class and the probabilities) is read from the table on the first input port.

Node details

Input ports
  1. Type: Table
    Class names and probabilities
    Should contain the class names (String) and probabilities for each class (Double).
  2. Type: Table
    Data table
    Original Data.
Output ports
  1. Type: Table
    Data table with new class
    The rows from the second input port 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

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
© 2026 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits