Regression model

Decision Tree Regression

Predicting continuous values by recursively splitting data based on feature thresholds.

Decision Tree Regression builds a tree structure where each internal node represents a decision based on a feature value, each branch represents the outcome of that decision, and each leaf node contains a predicted value. The tree is built by recursively finding the best splits that minimize prediction error.

Formula

Split criterion: min โˆ‘(yแตข - ศณ)ยฒ

How it works

  • Starts with all training data at the root node
  • Finds the feature and threshold that best splits the data
  • Recursively splits each subset until stopping criteria are met
  • Leaf nodes contain the average target value of training samples
  • Predictions traverse the tree based on feature values

When to use it

  • When interpretability is important
  • When data has non-linear relationships
  • When features have different scales
  • For handling both numerical and categorical features
  • When automatic feature selection is desired

Advantages

  • Easy to understand and visualize
  • Handles non-linear relationships
  • No need for feature scaling
  • Implicit feature selection
  • Handles missing values well

Limitations

  • Prone to overfitting
  • Sensitive to small data changes
  • Can create biased trees with imbalanced data
  • May not capture linear relationships well
  • Predictions are not smooth

Example uses

  • Property valuation
  • Medical diagnosis scoring
  • Customer lifetime value prediction
  • Risk assessment
  • Production yield forecasting

Need a model built on your data?

Tell us the decision you want to improve. We will tell you whether your data can support it and which approach fits.