Phase 1Days 1-24

ML Foundations: From Data Analyst to First Real Models

Mental model, generalization, just-enough math, linear regression and classification from scratch, validation discipline, capstone

Phase Goal

Turn a competent data analyst into someone who can frame an ML problem, prove generalization, derive and code linear models from scratch, evaluate them honestly, and ship a defensible capstone — before touching trees, boosters, or neural nets.

Progress

Day 1: What Machine Learning Actually Is

Day 2: Your First Model in 30 Lines

Day 3: The Generalization Problem

Day 4: Your Second Model: Linear Regression with Scikit-Learn

Day 5: Your Third Model: Logistic Regression on Titanic

Day 6: End-to-End Mini-Project: Ship a Notebook

Day 7: How a Model Actually Works: Vectors, Matrices, Shapes

Day 8: Calculus and Gradients for Learning

Day 9: Probability and Likelihood for ML

Day 10: Loss Functions: How Models Know They Are Wrong

Day 11: Gradient Descent From Scratch

Day 12: Rebuild Linear Regression From Scratch

Day 13: Linear Regression With Gradient Descent at Scale

Day 14: Regularization: Ridge, Lasso, and Elastic Net

Day 15: Logistic Regression: From Line to Probability

Day 16: Rebuild Logistic Regression From Scratch

Day 17: Softmax and Multiclass Classification

Day 18: Classification Metrics That Actually Matter

Day 19: Calibration, Thresholds, and Business Cost

Day 20: Bias, Variance, and Learning Curves

Day 21: Cross-Validation Done Right

Day 22: Data Audits and the Leakage Hunt

Day 23: Experiment Discipline: Configs, Seeds, Model Cards

Day 24: Capstone: Linear Models, End to End

Capstone
Capstone: Linear Models, End to End

On one real tabular dataset, deliver a data audit, a from-scratch linear model, a sklearn parity model, regularization and calibration sweeps, cross-validated metrics with uncertainty, and a one-page model card that an interviewer or manager could read in two minutes.

  • CS229-style derivation notes for the loss and gradient
  • NumPy scratch implementation matched against sklearn
  • Data card, model card, notebook, and README

Phase Complete!

After this phase, you'll be able to:

  • Explain ML in one sentence and decide when to use it
  • Reason about generalization, leakage, and the train-test gap
  • Derive and implement linear and logistic regression from scratch with gradient descent
  • Evaluate models with the right metric, calibration, and CV, and document them in a model card

You can deliver a linear-models case study end to end — audit, scratch model, sklearn parity, calibration, cross-validated intervals, and a written model card. 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.