Decision Tree Regressor (CART) Decision Tree Regressor (CART) applies the Decision Trees (CART) learning mechanism to continuous targets, producing numeric predictions instead of class labels.
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: A continuous numeric prediction; some probabilistic variants can also provide uncertainty or intervals.
Why practitioners use it. Completely transparent white-box interpretability, handles numerical and categorical features naturally, no feature scaling required. Typical fits include House-price estimation, insurance severity, demand estimation, interpretable non-linear numeric prediction.
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 outputA continuous numeric prediction; some probabilistic variants can also provide uncertainty or intervals.
Good fitHouse-price estimation, insurance severity, demand estimation, interpretable non-linear numeric prediction.
Main cautionHigh variance; prone to severe overfitting on noisy data without pruning or depth constraints.