Lessons29
0/29 modules masteredStart Here
2 lessons · 45 minNo formulas and no setup: what a model is, how it learns from examples, and two first ways to guess, by nearest neighbours and by yes or no questions. A pencil is enough.
What Is a Model? Learning a Rule from Examples
Up NextA plain-words start to machine learning: a model is a rule with knobs, learning is turning the knobs to shrink the misses, and an honest test uses days the model never saw.
Neighbours and Questions: Two Ways to Guess
Two first models worked out by hand before any formula: guess by asking the nearest known examples to vote, or guess by asking yes or no questions, and how to choose between them.
Foundations
7 lessons · 4 hrThe training loop, honest evaluation, bias and variance, then straight-line and logistic rules with regularization, and nearest neighbours.
The ML Framework
Supervised, unsupervised, and reinforcement learning: the three pillars of ML.
Model Evaluation & Selection
Confusion matrices, ROC curves, cross-validation. Measure what matters.
Bias–Variance Tradeoff & Learning Curves
The diagnostic mental model behind every 'more data vs more capacity vs more regularization' decision.
Linear & Polynomial Regression
Fit lines and curves to data. Your first ML algorithm.
Regularization: L1, L2, and ElasticNet
Prevent overfitting with Ridge, Lasso, and ElasticNet. Geometric intuition for sparsity.
Logistic Regression
Binary classification with the sigmoid function.
K-Nearest Neighbors
Classify by asking your neighbors. Simple, powerful, visual.
Core: The Main Algorithms
7 lessons · 4 hrDecision trees, Naive Bayes, discriminant analysis, support vector machines, ensembles, gradient boosting and probability calibration.
Decision Trees
A flowchart that learns. It splits data by asking yes/no questions.
Naive Bayes
A generative classifier built on Bayes' rule and a simple independence assumption, with Laplace smoothing.
Linear & Quadratic Discriminant Analysis
LDA assumes every class shares one covariance and draws a straight boundary; QDA gives each class its own and lets the boundary curve.
Support Vector Machines
Find the widest street between classes. The kernel trick explained.
Ensemble Methods: Bagging, Random Forests & Stacking
Why many weak learners beat one strong one. Bagging, random forests, OOB error, and stacking.
Gradient Boosting Deep Dive: XGBoost, LightGBM, CatBoost
The dominant algorithm in tabular ML. Stagewise additive modeling, learning rate, early stopping, and choosing between XGBoost / LightGBM / CatBoost.
Probability Calibration
Reliability diagrams, Brier score, ECE, Platt scaling, and isotonic regression. Make predict_proba mean what it says.
Advanced: Practice and Diagnosis
6 lessons · 4 hrClustering, mixtures, dimensionality reduction, anomaly detection, tuning and interpretation: the skills that make a working practitioner.
Clustering: K-Means, DBSCAN & Hierarchical
Find natural groups in data without labels. K-Means, DBSCAN, and hierarchical with linkage and dendrograms.
Gaussian Mixture Models & the EM Algorithm
Soft clustering with Gaussian mixtures. The EM algorithm, BIC for choosing k, and density estimation.
Dimensionality Reduction: PCA, t-SNE & UMAP
Squeeze many features into a few without losing the structure: PCA, t-SNE, and UMAP, and when each is safe to trust.
Anomaly Detection
Isolation Forest, One-Class SVM, GMM-based, LOF. Anomaly detection as a modeling task, where the outliers are the signal.
Hyperparameter Tuning
Grid, Random, Bayesian (Optuna), Hyperband. The practical skill of searching settings without wasting compute.
Model Interpretation: SHAP, LIME, PDP & More
Open the black box. SHAP, LIME, partial dependence, ICE, permutation importance and how to read each one honestly.
Expert: Specialist Methods
6 lessons · 4 hrTime series, feature engineering, recommender systems and causal inference, the last two taught in two parts each.
Time-Series Fundamentals: Stationarity, ARIMA & Prophet
Trend, seasonality, stationarity, ARIMA, Prophet, and honest backtesting for data ordered in time.
Feature Engineering: The 80% of ML
Turn raw columns into features a model can use: scaling, encoding, interactions, and leakage-safe pipelines.
Recommender Systems, Part 1: From Collaborative Filtering to Matrix Factorization
How a recommender guesses what you will like: match item features, borrow from similar users, then squeeze the ratings table into two small tables of hidden factors.
Recommender Systems, Part 2: Implicit Feedback, Cold Start, Evaluation and the Production Stack
Real products run on clicks, not ratings. Learn implicit-feedback ALS, how models are blended, cold start for new users and items, honest evaluation, and the three-stage pipeline behind a homepage.
Causal Inference, Part 1: Potential Outcomes, Confounding and Propensity Scores
Why correlation is not cause, what a causal effect is, the three assumptions behind every estimate, how to draw a DAG, and three ways to estimate an effect: a trial, regression and propensity scores.
Causal Inference, Part 2: Doubly Robust Estimators, Double ML and Quasi-Experiments
Estimators that survive one wrong model, Double ML with random forests, effects that differ across people, the four pitfalls that sink real studies, and designs for when you cannot randomize.
Build It: From Scratch Lab
1 lessons · 50 minWrite the core classical methods yourself in numpy, with hidden tests: a line two ways, logistic regression, nearest neighbours, k-means, a Gini stump, PCA, naive Bayes and a cross-validation split.
Classical ML From Scratch Lab
Eight numpy-only exercises with automatic checking: linear regression two ways, logistic regression, nearest neighbours, k-means, a Gini decision stump, PCA, naive Bayes and a cross-validation split, plus the traps and a capstone checklist.
Practice labs
12 interactive labs — hands-on exercises for this track
Linear Regression
Predict house prices based on square footage — drag points and watch the best-fit line adjust
Gradient Descent Explorer
You're blindfolded on a hilly field trying to find the lowest valley — feel the slope and take steps downhill
Decision Boundary Explorer
You're a bank deciding who gets a loan — draw the line that separates approved from denied
Clustering Algorithms
You're a marketing team grouping customers by shopping behavior — watch the algorithm find natural groups
SVM Margin
Find the widest road you can build between two neighborhoods — that's what SVM does
Scrollable Decision Tree
Walk down a decision tree step by step — see how every question narrows down to the final answer
t-SNE Visualizer
Squish high-dimensional data into 2D while keeping similar points close — explore how t-SNE reveals clusters
You Draw It
Draw your own data points and watch the model find the best decision boundary in real time
ROC Curve & AUC Builder
Drag a threshold across 30 scored predictions and watch the ROC curve paint itself. Switch to Precision-Recall for imbalanced data.
Regularization Path Explorer
Slide the λ knob and watch feature coefficients shrink — smoothly under Ridge, to exact zero under Lasso, mixed under ElasticNet.
Learning Curves Diagnoser
Training vs validation scores over sample size. Three scenarios (underfit/good/overfit) each leave a different fingerprint.
Ensemble Methods Comparison
Same dataset, 4 panels: single tree vs bagging vs AdaBoost vs stacking. Animate boosting rounds upweighting misclassified points.
Test your knowledge
638 questions across 29 modules — check how well you understood this track.