Understand the math behind Gini Impurity and Entropy (Information Gain). Learn how trees choose the best feature for a split.