Beta Distributed Assigner

Assigns a value based on the class column. This value is beta distributed as defined in the configuration by its peak and scaling parameter p. As the peak, please select the value that should be selected most frequently. The scaling parameter can be used to modify the distribution: a value between 0 and 1 will result in a broader range; a value above 1 results in a more compact distribution of the values.
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.
Min column bound
The minimum bound for the whole column.
Max column bound
The maximum bound for the whole column.
Values
The peak and the scaling parameter p can be defined for each value of the given class column.
  • Name: The class column value from the dependency column.
  • Peak: The value that should be selected most frequently (the mode of the distribution).
  • p: The scaling parameter. A value between 0 and 1 results in a broader range of values, a value above 1 results in a more compact distribution.

Input Ports

Icon
Data table.

Output Ports

Icon
one additional column containing the beta 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.