ExampleSet to Weights
Synopsis
This operator converts an ExampleSet to a weight vector.
Description
This operator takes an ExampleSet and converts it into a weight vector. The ExampleSet has to have an attribute holding the name of the weights, and an attribute holding the actual weights.
The result of the Weights to Data operator can be used as an input to this operator. The resulting weight vector can be used for example by the Select by Weights operator.
If the attribute holding the name of the weights has duplicates an User Error is thrown. Use the Remove Duplicates operator to fix this.
Input
example set
ExampleSet which should be converted to a weight vector.
Output
weights
Weight vector, containing the weights for the names specified in the name attribute of the input ExampleSet. The actual values of the weights are taken from the weight attribute of the input ExampleSet.
original
The original ExampleSet.
Parameters
Name attribute
Name of the attribute holding the names of the weights in the resulting weight vector.
Name attribute
Name of the attribute holding the actual values of the weights in the resulting weight vector.