Phase 2Days 25-44

Classical Supervised ML in Depth

KNN, Naive Bayes, trees, forests, gradient boosting, XGBoost/LightGBM/CatBoost, SVMs, pipelines, tuning, calibration, interpretation, packaging

Phase Goal

Become dangerous on tabular data: derive and tune every classical supervised algorithm, build leakage-safe sklearn pipelines, calibrate and interpret models, and ship a packaged tuned booster with a written model card.

Progress

Day 25: KNN and Distance-Based Learning

Day 26: Naive Bayes and Generative Classification

Day 27: Generative vs Discriminative Models

Day 28: Decision Trees: Splits, Impurity, Pruning

Day 29: Bagging and Random Forests

Day 30: Boosting Intuition: AdaBoost and Additive Models

Day 31: Gradient Boosting From Scratch

Day 32: XGBoost, LightGBM, and CatBoost

Day 33: SVMs: Margins, Hinge Loss, Soft Margins

Day 34: Kernel SVMs and the Kernel Trick

Day 35: Pipelines and Leakage-Safe Preprocessing

Day 36: Categorical Encoding Deep Dive

Day 37: Imbalanced Classification

Day 38: Hyperparameter Tuning: Grid, Random, Bayesian

Day 39: Interpretation: Permutation, PDP, ICE, SHAP

Day 40: Causal Caution: Prediction vs Intervention

Day 41: Time Series Baselines and Walk-Forward CV

Day 42: Calibration and Probability Repair

Day 43: Packaging and Serving Classical Models

Day 44: Capstone: Classical ML Case Study

Capstone
Capstone: Classical ML Case Study

Build a supervised tabular ML case study end to end: data audit, baseline, ensemble, tuned booster, calibration, cross-validated metrics with intervals, SHAP-based explanation, model card, and a packaged FastAPI demo.

  • ISL with Python-style workflow
  • CS229/CMU-style derivations for the core algorithms used
  • Pipeline artifact, model card, notebook, FastAPI demo, and README

Phase Complete!

After this phase, you'll be able to:

  • Derive, code, and compare KNN, Naive Bayes, trees, forests, boosters, and SVMs
  • Build leakage-safe sklearn pipelines for mixed numeric/categorical data
  • Tune, calibrate, and interpret models with SHAP and reliability curves
  • Package a tuned tabular model behind FastAPI with a model card

You can place on a competitive tabular task and explain every modeling choice in plain English. Gate: explain without notes, build one independent artifact, diagnose a deliberate failure, and repeat a changed task after a delay. Record help and repair missing prerequisites.