|  | ## Weight by Chi Squared Statistic

#### Synopsis

This operator calculates the relevance of a feature by computing for each attribute of the input example set the value of the chi-squared statistic with respect to the class attribute.

#### Description

This operator calculates the relevance of a feature by computing for each attribute of the input example set the value of the chi-squared statistic with respect to the class attribute.

#### Input

- example set: expects: ExampleSet

#### Output

- weights:
- example set:

#### Parameters

- normalize weights: Activates the normalization of all weights.
- number of bins: The number of bins used for discretization of numerical attributes before the chi squared test can be performed.

#### ExampleProcess