Build decision trees step by step and see how splits are chosen
Chapter 18 · Decision Trees
Decision trees partition the feature space using axis-aligned splits. At each node, the algorithm selects the feature and threshold that maximizes information gain (or minimizes Gini impurity). Use Step to add one split at a time, or Build Tree to construct the full tree.