Computes the merit of splitting for a given distribution before and after the split.
Computes the merit of splitting for a given distribution before and after the split.
the class distribution before the split
the class distribution after the split
value of the merit of splitting
Computes the range of splitting merit
Computes the range of splitting merit
the class distribution before the split
value of the range of splitting merit
Trait for computing splitting criteria with respect to distributions of class values. The split criterion is used as a parameter on decision trees and decision stumps. The two split criteria most used are Information Gain and Gini.