Skip to content

Track T22

Supervised Learning

From glass-box models to boosted trees.

Unit 1Glass boxes

· 5 lessons
  1. 1Linear and logistic models as predictorsA weighted sum is a strong baseline you can read. See when it matches boosting, when it can't, and how new features let it draw curves.Applied · 11 min
  2. 2Elastic net in practiceRidge, lasso or a mix, chosen by cross-validation. Use the elastic net when features pile up, and know what a selected feature does and doesn't mean.Applied · 10 min
  3. 3k-nearest neighborsPredict from the most similar rows. Simple and surprisingly strong in low dimensions, it falls apart when scale, irrelevant columns or many features distort what "near" means.Applied · 9 min
  4. 4Naive Bayes, LDA and QDAModel each class as a distribution, then apply Bayes' rule. Three strong baselines that differ in one assumption, about how features vary within a class.Applied · 11 min
  5. 5GAMs: a glass box that bendsOne smooth curve per feature, added together. Every prediction can be read off its curves. See when that's enough, and what the additive assumption can't catch.Applied · 11 min

Unit 2Trees and forests

· 2 lessons
  1. 6Decision treesGreedy yes-or-no splits, read as a flowchart. Learn how a split is chosen, how to stop or prune, and why a lone tree predicts worse than it reads.Applied · 11 min
  2. 7Random forests and extra treesAverage deep, decorrelated trees for a strong default that needs little tuning. Learn what the randomness is for, and why the engines agree statistically, not digit for digit.Applied · 12 min

Unit 3Boosting

· 3 lessons
  1. 8Gradient boostingAdd small trees one at a time, each fixing what the model still gets wrong. See why boosting attacks bias, why it can overfit, and how learning rate and rounds trade.Applied · 12 min
  2. 9XGBoost, LightGBM, histogram boosting and CatBoostFour implementations of one idea. Learn how they differ in tree growth and in Python-to-R agreement, and why default-to-default gaps are rarely worth a debate.Applied · 10 min
  3. 10Boosting controls: early stopping, subsampling and monotone constraintsStop at the right round without touching test rows, add randomness to steady the fit, and force an effect's direction when domain knowledge demands it.Advanced · 12 min

Unit 4Kernels and networks

· 16 lessons
  1. 11Support vector machinesFind the widest margin, let a kernel bend it, and let cost and gamma set the balance. Strong on small and medium tables with clear structure.Advanced · 11 min
  2. 12Neural networks for tablesHidden units combine straight lines into curves. Train small and deeper networks, keep them from memorizing, and decide when deep learning is worth it for your data.Advanced · 13 min
  3. 13Text: embeddings and the LLM classifierTwo honest ways to predict from free text. Turn it into features with a local embedder, or let a language model label it, scored on the same folds as any model.Advanced · 12 min
  4. 21Convolutional networks: learning from pixelsA convolutional network slides small learned kernels over an image. Watch it lose its edge when the pixels are shuffled, read its filters, feature maps and confusion matrix, and decide when images call for one.Advanced · 9 min
  5. 22Classifying images with a pretrained networkStart from a network pretrained on millions of photos and train only what you need (the head, LoRA updates or the top blocks). Group folds by source, read the gallery of mistakes and see with Grad-CAM where it looks.Advanced · 11 min
  6. 23Gaussian processes: smooth predictions that know where they're guessingA Gaussian process learns a smooth function from a kernel and reports an SD for every prediction. Read its lengthscale and noise, let the marginal likelihood fit them, and check the intervals it promises.Advanced · 14 min
  7. 24Networks that know their limits: dropout passes, variational weights and robust trainingGet a predictive SD from a torch network with Monte Carlo dropout or variational weights, train for the worst subgroup with Group DRO, and make predictions steadier with PGD or TRADES.Advanced · 14 min
  8. 25A frozen text encoder with a linear headPredict from free text with a pretrained sentence encoder that runs on your Mac. The encoder stays frozen; only a penalized linear model is trained, and a saved model embeds new text the same way.Advanced · 11 min
  9. 26Compute profiles: when results can differNeural networks can train in three ways. Parity gives the same numbers in Python and R; Faster CPU and Apple GPU trade that for speed. This lesson says what changes, why, and when each is the right choice.Applied · 8 min
  10. 27Deep kernels and TracIn: learned features, and the training rows behind a predictionA deep kernel lets a small network learn the features a Gaussian process compares rows on. TracIn traces a network's prediction back to the training rows whose steps helped or hurt it, using the checkpoints saved while it trained.Advanced · 12 min
  11. 28Fine-tuning a text encoder, and LoRAWhen a frozen encoder can't tell your texts apart, let its top layers learn too. Fine-tuning trains them; LoRA trains small low-rank updates to them. Both start from the frozen model.Advanced · 12 min
  12. 29Models from models: adapt, continue, distill, compressAdapt a trained network to new rows, keep training it without forgetting, distill any model into a smaller network, or compress it. Each makes an ordinary run that remembers where it came from.Advanced · 12 min
  13. 30TabNet, set models and TabPFNThree Experimental learners for special shapes of tables. TabNet shows which columns each step read; a set model learns from groups of rows whose order doesn't matter; TabPFN predicts a small table without training on it.Advanced · 13 min
  14. 31Neural CDEs: learning from sequences observed at irregular timesTurn each entity's irregularly timed observations into a continuous path and let a hidden state follow it, on simulated sensors and the chick-weight curves.Advanced · 12 min
  15. 32Learning from the neighbors: graph neural networksPredict a value for every node of a network from its own columns and its neighbors', pick a graph layer, and read transductive scores for what they are.Advanced · 12 min
  16. 33Domain adaptation: training for rows that look differentA model trained on one domain often slips on another. A domain-adversarial network learns features both domains share; check it against a baseline, read the domain classifier honestly, and meet FixMatch.Advanced · 11 min

Unit 5Beyond means and classes

· 5 lessons
  1. 14Counts and amounts: objectives and exposureClaims per policy, rainfall, spend. Choose Poisson, Gamma or Tweedie to match the target's shape, and use exposure so a half-year policy isn't compared with a full year.Advanced · 12 min
  2. 15Predicting time to eventUse penalized Cox, a random survival forest or boosted survival models with censored targets. Score them with concordance, integrated Brier and time-dependent AUC.Advanced · 12 min
  3. 16Predicting a distribution: Bayesian GLM, distributional boosting and BARTThree learners that report how sure they are, row by row. Read their intervals, check coverage on held-out rows, and know when a Normal assumption lets you down.Advanced · 12 min
  4. 19Experimental learners: NGBoost, FT-Transformer, TabM and deep ensemblesFour Experimental learners that predict a distribution or average many networks. Watch the spread overfit, read what ensemble disagreement means, and decide when a deep model is worth its time.Advanced · 11 min
  5. 20Labeling sequences with a CRFA linear-chain conditional random field labels every token of a sequence at once, so neighboring labels shape each other. Learn to set up a token table, read transition weights, and score spans rather than tokens.Advanced · 13 min

Unit 6Tuning and combining

· 2 lessons
  1. 17Tuning without fooling yourselfChoose what to search, how far, and how you'll know when to stop. Compare grid, random and Bayesian search, read the trials, and report what you tried.Applied · 12 min
  2. 18Ensembles and AutoMLCombine runs you already have with no retraining, keep the score honest by cross-fitting, and let AutoML follow a plan you can read rather than a black box.Advanced · 12 min