The sessions π οΈ Β· for practitioners Β· 10 x 45 min Β· Python + scikit-learn Β· assumes intro-ml
One algorithm per session, one running brand across all ten. Every session ends the same way: the algorithm faces the Lumen data, earns its spot on the leaderboard, and you learn exactly why it landed where it did. Everyone starts at session 1.
The supervised zoo
Seven algorithms, two families - model-based vs instance-based - and the one picture that compares them all: the decision boundary, explored live. Plus the baseline leaderboard the course will explain.
π Session 2Linear regression, properly
Least squares from residuals up, coefficients you can read in dollars, RΒ² honestly - then polynomial features and the degree-12 explosion that teaches restraint. Ridge and lasso as the tamer.
ποΈ Session 3Logistic regression, from the inside
Sigmoid, odds and log-odds, coefficients as odds ratios (email x4.1, returning x2.8), why the loss is log-loss and not MSE - and the moment the model recovers the machine that made the data.
β°οΈ Session 4Gradient descent
The loss surface, the learning rate, batch vs stochastic - then the payoff: a 15-line from-scratch descent that matches scikit-learn's coefficients to two decimals. You will never fear "solver" again.
π Session 5k-nearest neighbors
The algorithm with no training step: k from memorization (k=1, a coin flip on test) to over-smoothing, why scaling is life or death (0.64 vs 0.58 AUC), the curse of dimensionality, and kNN regression.
π² Session 6Naive Bayes
Bayes' theorem as a classifier, the independence assumption that is false yet works, Gaussian vs Multinomial vs Bernoulli, smoothing - and why you never trust its probabilities, only its rankings.
π³ Session 7Decision trees, in depth
Gini vs entropy (near-identical - gini is just cheaper), information gain, the depth U-curve, pruning with max_depth / min_samples_leaf / ccp_alpha, feature importance - and where trees lose to lines.
π₯ Session 8Support vector machines
The widest-street idea, support vectors, C and gamma, the kernel trick - and the honest Lumen result: linear SVM ties logistic while a default RBF loses badly. Kernels are not magic.
π§ Session 9Choosing your model
Bias and variance across the whole zoo, the decision guide (data shape, size, interpretability, speed), and the fair-comparison protocol: tune by cross-validation, spend the test set once.
π Session 10Capstone: the bake-off
Every algorithm, both Lumen tasks, one honest leaderboard each - written up as model cards and presented like an analyst (dollars before scores). Plus the bridges to what comes next.
Choose your path πΊοΈ
Everyone starts at session 1. The fast-tracks fit a specific gap - but the full journey is the point.
Try the boundary explorer π§ͺ
Real models, fit live in your browser - real gradient descent, real CART splits, real neighbor votes. Switch algorithms and datasets, drag the knobs, and watch the train-test gap tell you when a model is memorizing instead of learning. The same tool is embedded in the sessions that teach each algorithm.
The knowledge map π§
The whole course at a glance - hover a session to spotlight its concepts, click any node to jump in.