My goal is to discretize a set of attributes using entropy discretization. The plan for this program is the following:
1. Discretize the attribute A1 using Entropy-Based discretization when either
a. The number of distinct classes within a partition is 1.
b-The ratio of the minimum to maximum frequencies among the distinct values for the attribute Class in the partition is