🌿 What is a Decision Tree?
A Decision Tree is a flowchart-like model of decisions: internal nodes test features, branches represent outcomes, and leaves show predictions. Trees split data recursively using features that best separate the target (classification) or reduce variance (regression).
- ✔ Easy to visualize and interpret
- ✔ Handles numerical and categorical features
- ✔ Common splitting criteria: Gini impurity, Entropy (information gain), MSE (regression)
