Categories

Versions

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.
  • number of batches The desired number of batches.