chickadee » dataset-utils » information-gain

(information-gain relation target-class attribute-name) procedure

Computes the information gain from using the given attribute-name to split the data in relation over the entropy of the data as they are; target-class is used to compute the entropy.