Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Incomplete
-
2.3.1
-
None
Description
Spark currently uses Information Gain (IG) to decide the next feature to branch on when building a decision tree. In case of categorical features, IG is known to be biased towards features with a large number of categories. Information Gain Ratio solves this problem by dividing the IG by a number that characterizes the intrinsic information of a feature.
As far as I know, Spark has IG but not IGR. It would be nice to have the possibility to choose IGR instead of IG.