Decision Tree Classifier (CART) Decision Tree Classifier (CART) applies the Decision Trees (CART) learning mechanism to categorical targets. Decision Trees (CART) is a supervised learning method in the multi-class classification family. This page summarizes its mechanism, practical uses, important trade-offs, and a browser-based concept explorer.
What is learned. During training, the algorithm builds or adjusts feature thresholds, branches and terminal leaf values. The core learning mechanism is: Recursively partitions feature space into axis-aligned rectangular regions using purity split criteria like Gini Impurity or Information Gain.
How training becomes inference. Place all samples at the root → score candidate splits → choose the strongest split → recurse into child nodes → stop according to complexity rules → predict from terminal leaves. Once training stops, the fitted state is reused on unseen inputs rather than being reconstructed from scratch. The resulting output is: Class probabilities or class labels, depending on the decision threshold and API used.
Why practitioners use it. Completely transparent white-box interpretability, handles numerical and categorical features naturally, no feature scaling required. Typical fits include Customer churn diagnosis, operational decision rules, medical triage workflows, feature importance inspection.
What to verify before trusting it. High variance; prone to severe overfitting on noisy data without pruning or depth constraints. The visual simulation is intentionally simplified, so real use should still validate preprocessing, data independence, hyperparameters, uncertainty and task-appropriate metrics.
Internal statefeature thresholds, branches and terminal leaf values
Typical outputClass probabilities or class labels, depending on the decision threshold and API used.
Good fitCustomer churn diagnosis, operational decision rules, medical triage workflows, feature importance inspection.
Main cautionHigh variance; prone to severe overfitting on noisy data without pruning or depth constraints.