Skip to main content

Weights to Data

Synopsis

This operator takes attribute weights as input and delivers an ExampleSet with attribute names and corresponding weights as output.

Description

The Weights to Data operator takes attribute weights as input and delivers an ExampleSet with attribute names and corresponding weights as output. The resultant ExampleSet has two attributes 'Attribute' and 'Weight'. The 'Attribute' attribute stores the names of attributes and the 'Weight' attribute stores the weight of the corresponding attribute. This ExampleSet hasnnumber of examples; wherenis the number of attributes in the input weights vector. There are numerous operators that provide attribute weights at 'Modeling/Attribute Weighting' in the Operators Window.

Input

attribute weights

This input port expects weights of attributes. It is the output of the Weight by Chi Squared Statistic operator in the attached Example Process.

Output

example set

The ExampleSet that contains attribute names and corresponding weights is delivered through this port.