Weight by User Specification


Synopsis

This operator defines the weights for all features based on a list of regular expressions for the feature names which can be used to set a specified weight to features with a name fulfilling these expressions.


Description

This operator is able to create feature weights based on regular expressions defined for the feature names. For example, the user can map all features with a name starting with "Att" to the weight 0.5 by using the regular expression "Att.*". Alternatively, the specified weight may be considered as weight sum for all attributes matching the corresponding regular expression and may be equally distributed among these attributes. All other feature weights whose feature names are not covered by one of the regular expressions are set to the default weight.

Please note that the weights defined in the regular expression list are set in the order as they are defined in the list, i.e. weights can overwrite weights set before.


Input


Output


Parameters


ExampleProcess