Weight by Component Model
Synopsis
This operator creates attribute weights of the ExampleSet by using a component created by operators like the PCA, GHA or ICA. If the model given to this operator is PCA then this operator behaves exactly as the Weight by PCA operator.
Description
The Weight by Component Model operator always comes after operators like the PCA, GHA or ICA. The ExampleSet and Preprocessing model generated by these operators is connected to the ExampleSet and Model ports of the Weight by Component Model operator. The Weight by Component Model operator then generates attribute weights of the original ExampleSet using a component created by the previous operator (i.e. PCA, GHA, ICA etc). The component is specified by the component number parameter. If the normalize weights parameter is not set to true exact values of the selected component are used as attribute weights. The normalize weights parameter is usually set to true to spread the weights between 0 and 1.
The attribute weights reflect the relevance of the attributes with respect to the class attribute. The higher the weight of an attribute, the more relevant it is considered.
Input
example set
This input port expects an ExampleSet. It is the output of the PCA operator in the attached Example Process.
model
This input port expects a model. Usually the Preprocessing model generated by the operators like PCA, GHA or ICA is provided here.
Output
weights
This port delivers the weights of the attributes with respect to the label attribute. The attributes with higher weight are considered more relevant.
example set
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.
model
The model that was given as input is passed without changing to the output through this port.
Parameters
Normalize weights
This parameter indicates if the calculated weights should be normalized or not. If set to true, all weights are normalized in range from 0 to 1.
Sort weights
This parameter indicates if the attributes should be sorted according to their weights in the results. If this parameter is set to true, the order of the sorting is specified using the sort direction parameter.
Sort direction
This parameter is only available when the sort weights parameter is set to true. This parameter specifies the sorting order of the attributes according to their weights.
Component number
This parameter specifies the number of the component that should be used as attribute weights.