Machine Learning

Decision Tree

A supervised learning algorithm that makes predictions by learning a series of if-then-else decision rules from the data. It creates a tree-like structure where each internal node tests a feature and each leaf provides a prediction.

Why It Matters

Decision trees are one of the most interpretable ML models — you can visually trace exactly why a prediction was made, which is critical for regulated industries.

Example

A decision tree for loan approval: If income > $50K AND credit score > 700 AND debt-to-income < 0.3, then approve. Each branch represents a different decision path.

Think of it like...

Like a flowchart you might use to troubleshoot a problem — 'Is the device plugged in? Yes → Is the power light on? No → Check the fuse' — each question narrows down the answer.

Related Terms