THE GARDEN
Updated 02 Oct 2026
the reduction in target entropy produced by a split
IG(Y,X)=H(Y)−∑vP(X=v)H(Y∣X=v)IG(Y,X)=H(Y)-\sum_vP(X=v)H(Y\mid X=v).
GainRatio=IG/SplitInfo\mathrm{GainRatio}=IG/\mathrm{SplitInfo}, when the denominator is nonzero.
SplitInfo=−∑vP(X=v)log2P(X=v)\mathrm{SplitInfo}=-\sum_vP(X=v)\log_2P(X=v).
Gain ratio addresses information gain’s preference for attributes that create many branches.
Using the supplied fourteen-row dataset: Outlook ≈0.258521\approx0.258521, Temperature ≈0.183851\approx0.183851, Humidity ≈0.370507\approx0.370507, Windy ≈0.005978\approx0.005978.
Humidity has the highest information gain for that dataset.
Decision Tree
Unavailable reference
◌ Explore connections in Graph view
Paths through the garden