Random Number Assigner

Assigns a value based on the class column, this value is uniformly distributed between given min. and max.
This number generator can be used to generate different distributions based on the values of a categorical dependency column. To use this option please select a dependency column. You will then be able to assign one parameter settings for each value of the given class column.

Options

Dependency column
Choose a class column. Choose "None" to define one setting for the whole table.
Column name
The name for the generated column.
Use seed
When enabled, the random number generation will use a fixed seed value, making the randomization reproducible across multiple executions. When disabled, each execution will produce different random results.
Random seed
The seed value used for random number generation. Use the same seed to get identical random number results across multiple executions. You can enter a custom value or use the random seed generation button below.
Draw seed
Generate a random seed and set it in the Random seed input above for reproducible runs.
Values
The minimum and maximum can be defined for each value of the given class column.
  • Name: The class column value from the dependency column.
  • Min: Minimum value for the random number generation.
  • Max: Maximum value for the random number generation.

Input Ports

Icon
Data table.

Output Ports

Icon
One additional column containing the uniformly distributed value.

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.