Stresser

Produces stress for the given values. Each cell is stressed individually with the given percentages of stress. There are four kinds of stress, based on the column type.

String columns can be stressed by switching the string value to another value inside the given column domain. Otherwise they can be stressed by exchanging two letters.

Number values can be stressed inside or outside the input range.

Options

Percentage to stress per row
The percentage to stress per row. Rows are selected based on this probability. Set to 0.01 to stress approximately 1% of rows.
Percentage to stress per column
The percentage to stress a column with. If a row was selected to be stressed, this algorithm chooses which cells should be stressed based on this value. If all columns in the stressed row should be changed, set the value to 1.0. The probability a cell is stressed is the multiplication of both the row and column stress probabilities.
String
The type of string stressing applied to all selected string columns.
  • Switch class: Exchanges the string value with another value from the column domain.
  • Mutate: Exchanges two letters within the string.
Number
The type of number stressing applied to all selected number columns.
  • Out of range: Creates stress values outside the current column range.
  • In range: Creates stress values within the current column range.
Use fixed seed
When enabled, the stressing will use a fixed seed value, making the randomization reproducible across multiple executions. When disabled, each execution will produce different random stressing results.
Random seed
The seed value used for random number generation. Use the same seed to get identical stressing 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.
Always include all columns
If checked, node behaves as if all columns were moved to the "Include" list.
Stressed columns
Move the columns to be stressed into the "Include" list. Only columns with domain information (numeric columns with min/max bounds or string columns with domain values) can be stressed.

Input Ports

Icon
Arbitrary input data.

Output Ports

Icon
Input data with some stressed values.
Icon
Containing only changed values. Unchanged values in rows which changed will set as missing values.

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.