Skip to content
Intermediate13 lessons

Production ML Systems

Take predictive models beyond the notebook. Follow what happens to splits, features, A/B tests, drift, and serving once users depend on them.

ML engineers, data scientists, and backend engineers shipping predictive systems beyond notebooks.

You can build leakage-free training pipelines, maintain point-in-time feature parity, monitor drift, and scale production serving.

  1. 1Tensors, Shapes & Matrix ArithmeticTwo text snippets hold 24 numbers. Naming each axis tells you which values belong to which word before an index, a broadcast, or a reduction can be trusted.Math & Tensor FoundationsEasy11 min
  2. 2Probability for Machine LearningA detector that catches 95 percent of abusive signups can still fill the review queue with clean accounts, and the flagged-pile counts show why.Math & Tensor FoundationsEasy12 min
  3. 3Statistics, Bayesian Estimation & pass@kBound pass rates with Wilson and Beta-Binomial intervals, compare checkpoints with paired tests and bootstrap lifts, and compute unbiased pass@k.Math & Tensor FoundationsEasy12 min
  4. 4Linear Regression from ScratchRetrieved context grows from 100 to 500 tokens and latency climbs from 118 to 198 ms. A near-perfect line still hides a bend in the residuals.Classical ML & EvaluationEasy18 min
  5. 5Logistic Regression and MetricsTurn two features into a probability, derive the loss and gradient, and train logistic regression in NumPy. Then follow the same predictions through thresholds, precision, recall, ranking, and calibration.Classical ML & EvaluationEasy12 min
  6. 6Decision Trees, Forests, and BoostingLearn how decision trees learn splits, random forests average variance away, and gradient boosting corrects residuals sequentially, then apply chronological splits, Bayes-optimal cost thresholds, and NaN routing.Classical ML & EvaluationEasy14 min
  7. 7Clustering and PCAInspect unlabeled technical-abstract embeddings with k-means and PCA, then stress-test whether apparent neighborhoods survive scale, metric, and compression choices.Classical ML & EvaluationEasy11 min
  8. 8Validation and LeakageAn evaluation score can look nearly perfect because a post-inference field, a repeat user, or a contaminated benchmark already leaked the answer.Classical ML & EvaluationEasy18 min
  9. 9Experiment Design and A/B TestingDesign rigorous A/B tests for ML and LLM systems: multi-turn thread pinning, power planning, SRM, sequential tests, CUPED, judge calibration, and joint quality, latency, and cost guardrails.Classical ML & EvaluationEasy13 min
  10. 10Feature Engineering & Point-in-Time PipelinesBuild point-in-time features, leak-free encodings, watermarked streaming aggregates, dual offline/online stores, and freshness SLAs that keep training and serving vectors identical.Classical ML & EvaluationEasy17 min
  11. 11PyTorch Training LoopsA falling loss can hide a broken sequence-classifier loop, so follow one batch through logits, gradients, validation, and a checkpoint that still matches after reload.Deep Learning FoundationsEasy14 min
  12. 12CNNs from ScratchA two-pixel shift breaks a model that memorizes coordinates. Trace shared kernels, shapes, pooling, and padding on one 4 by 4 crop.Deep Learning FoundationsEasy21 min
  13. 13GPU Serving & AutoscalingWhen a traffic surge sends 100 requests to one warm GPU, queue age and KV pressure, not raw utilization, decide when to add replicas.GPU Systems & LLM InferenceHard14 min