Random Label Assigner

Assigns the labels based on the probabilities to the rows. Here we use the class names and the probabilities given in the dialog to assign the new class column. Categories with empty names or a probability less or equal to 0 are ignored.

Options

Column Name
the name of the new column
Seed
the random seed to produce a deterministic result
Name of column
the name of the new column
Probability
the probability of this category
Table actions
+ add a new row, - remove selected row, N normalize selected column

Input Ports

Icon
Simply data, (as the node does not use any information in this data, there are no constraints)

Output Ports

Icon
The original data with one new string column.

Popular Predecessors

Views

This node has no views

Workflows

Links

Developers

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.