Ch 6 · Decision Trees · Machine Learning & AI
Topic 6 of 13 in Machine Learning & AI — Foundations — 2 lessons.
A Flowchart of Questions
A decision tree classifies by asking yes/no questions about the features, narrowing down until it reaches an answer — exactly like a game of "20 Questions". Each question splits the data into purer groups.
Finding the Best Split
A tree learns by trying split points and keeping the one that best separates the labels. This stump scans thresholds and picks the most accurate one.
All topics in Machine Learning & AI Beginner
- What Is Machine Learning?
- Data — Features, Labels & Splitting
- Linear Regression — Fitting a Line
- How Models Learn — Gradient Descent
- Classification — Predicting Categories
- Decision Trees
- Evaluating a Model Honestly
- Overfitting & the Bias-Variance Tradeoff
- The ML Workflow
- Mini-Project — A Spam Classifier
- Clustering — Finding Groups Without Labels
- Your First Real scikit-learn Model
- Words as Numbers — A Taste of NLP