Generate Batch (Model Simulator)
Synopsis
This operator can be used for creating a new attribute dividing the data into batches of the same size.Description
This operator generates a new special batch column which divides the data into a specified number of batches. Those batches are assigned by using the mod function on the row number, counting starts with 1.
Input
- example set input (Data Table)
This input port expects a data set.
Output
- example set output (Data Table)
The input data plus a new batch column.
Parameters
- batch attribute name The name of the newly created batch attribute. This name is also used as the special role. Range: string
- number of batches The desired number of batches. Range: integer