Generate Weight (Stratification)
Synopsis
This operator distributes the specified weight over all the examples, such that weights sum up equally per label.
Description
The Generate Weight (Stratification) operator divides the weight specified through the total weight parameter among all the examples. While dividing the weight, this operator makes sure that the sum of example weights of all label values is same. This often improves the representativeness of the label values. Please study the attached Example Process for better understanding.
Input
example set input
This input port expects an ExampleSet. It is output of the Retrieve operator in the attached Example Process.
Output
example set output
The examples are assigned weights and the resultant ExampleSet is returned through this port.
original
The ExampleSet that was given as input is passed without changing to the output through this port. This is usually used to reuse the same ExampleSet in further operators or to view the ExampleSet in the Results Workspace.
Parameters
Total weight
This parameter specifies the total weight that should be distributed over all the examples.