|  | ## Log to Weights

#### Synopsis

This operator creates new attribute weights from a attribute names column logged with the ProcessLog operator.

#### Description

This operator creates attribute weights from an attribute column in the statistics created by the ProcessLog operator. In order to use this operator, one has first to add a ProcessLog operator inside of a feature selection operator and log the currently selected attribute names. This operator will then calculate attribute weights from such a statistics table by checking how often each attribute was selected and use the relative frequencies as attribute weights.

If the performance is also logged with the ProcessLog operator, these values can also be used to calculate the relative frequencies. In this case, the sorting type can be set to only use the top k or the bottom k attribute sets for frequency calculation according to the specified performance column.

#### Input

#### Output

- weights:

#### Parameters

- normalize weights: Activates the normalization of all weights.
- log name: The name of the ProcessLog operator which generated the log data which should be transformed (empty: use first found data table).
- attribute names column: The column of the statistics (Process Log) containing the attribute names.
- sorting type: Indicates if the logged values should be sorted according to the specified dimension.
- sorting dimension: If the sorting type is set to top-k or bottom-k, this dimension is used for sorting.
- sorting k: If the sorting type is set to top-k or bottom-k, this number of results will be kept.

#### ExampleProcess