Machine Learning Engineering

Train, compare, diagnose, and defend predictive models using honest validation, reproducible experiments, and feature-importance investigations.

Chapter 1 is free to read, chapter 2 is free with an account, and every lesson opens with a free preview. Members read every lesson in full.

42 lessons · 7 chapters

Prediction Problems and Data

Turn an operational question into an honest learning problem.

  1. Frame a Prediction Contract · 25 minutes · Free
  2. Probability, Sampling, and Predictive Risk · 30 minutes · Free
  3. Leakage, Groups, and Honest Splits · 30 minutes · Free
  4. Fit Preprocessing Inside the Split · 30 minutes · Free
  5. Naive Bayes and Conditional Independence · 25 minutes · Free
  6. Graphical Models and Conditional Structure · 35 minutes · Free
  7. Nearest Neighbors and Distance Geometry · 25 minutes · Free

Learning from Features

Fit interpretable baselines and explain how parameters are learned.

  1. Linear Regression and Residual Reasoning · 30 minutes · Free with account
  2. Logistic Regression and Log Loss · 30 minutes · Free with account
  3. Gradients, Regularization, and Model Capacity · 30 minutes · Free with account
  4. Margins, Support Vectors, and Kernels · 30 minutes · Free with account
  5. PCA and Variance-Preserving Projections · 30 minutes · Free with account
  6. K-Means and Cluster Validation · 30 minutes · Free with account
  7. Gaussian Mixtures and Expectation Maximization · 35 minutes · Free with account
  8. Anomaly Scores and Investigation Budgets · 30 minutes · Free with account
  9. Small Neural Networks and Backpropagation · 35 minutes · Free with account
  10. Diagnose Neural Training · 35 minutes · Free with account
  11. Convolutions, Receptive Fields, and Image Validation · 35 minutes · Free with account
  12. Recurrent State, Gating, and Sequence Validation · 35 minutes · Free with account
  13. Adversarial Objectives and Generative Evaluation · 35 minutes · Free with account

Trees, Bagging, and Boosting

Build a forest and distinguish training predictions from out-of-bag evidence.

  1. Decision Trees and Weighted Impurity · 30 minutes · Members
  2. Bootstrap Sampling and Bagging · 30 minutes · Members
  3. Random Forests and Correlated Trees · 30 minutes · Members
  4. Out-of-Bag Evaluation: Correct Votes and Limits · 35 minutes · Members
  5. Gradient Boosting and Shrinkage · 30 minutes · Members

Validation and Decisions

Select a model using the right sampling unit, score, and decision rule.

  1. Metrics, Base Rates, and Costly Errors · 30 minutes · Members
  2. Cross-Validation and Honest Model Selection · 35 minutes · Members
  3. Calibration and Decision Thresholds · 30 minutes · Members
  4. Learning Curves and Slice-Based Error Analysis · 30 minutes · Members
  5. Bootstrap Uncertainty and Paired Comparisons · 30 minutes · Members
  6. Ranking and Recommendation Evaluation · 30 minutes · Members

Explaining Model Behavior

Investigate feature importance without confusing prediction with causation.

  1. Impurity Importance and Its Biases · 30 minutes · Members
  2. Permutation Importance on Unseen Data · 30 minutes · Members
  3. Correlated Features, Grouped Permutations, and Ablation · 35 minutes · Members
  4. Partial Dependence and SHAP Assumptions · 30 minutes · Members

Reproducible Model Investigations

Produce repeatable evidence and preserve the meaning of features over time.

  1. Forest Diagnostics Lab · 75 minutes · Members
  2. Reproduce a Training Decision · 35 minutes · Members
  3. Point-in-Time Features and Delayed Labels · 35 minutes · Members
  4. Forecasting with Rolling Origins · 35 minutes · Members

Build and Defend a Predictive Model

Deliver a reproducible experiment and defend its scope and limitations.

  1. Capstone: Select and Audit a Predictive Model · 150 minutes · Members
  2. Defend the Model and Its Limits · 45 minutes · Members
  3. Rewards, Bellman Updates, and Exploration · 35 minutes · Members

All lessons

  1. Frame a Prediction Contract
  2. Probability, Sampling, and Predictive Risk
  3. Leakage, Groups, and Honest Splits
  4. Naive Bayes and Conditional Independence
  5. Graphical Models and Conditional Structure
  6. Fit Preprocessing Inside the Split
  7. Linear Regression and Residual Reasoning
  8. Logistic Regression and Log Loss
  9. Nearest Neighbors and Distance Geometry
  10. Gradients, Regularization, and Model Capacity
  11. Decision Trees and Weighted Impurity
  12. Bootstrap Sampling and Bagging
  13. Margins, Support Vectors, and Kernels
  14. Small Neural Networks and Backpropagation
  15. Diagnose Neural Training
  16. Convolutions, Receptive Fields, and Image Validation
  17. PCA and Variance-Preserving Projections
  18. K-Means and Cluster Validation
  19. Gaussian Mixtures and Expectation Maximization
  20. Anomaly Scores and Investigation Budgets
  21. Random Forests and Correlated Trees
  22. Out-of-Bag Evaluation: Correct Votes and Limits
  23. Gradient Boosting and Shrinkage
  24. Metrics, Base Rates, and Costly Errors
  25. Cross-Validation and Honest Model Selection
  26. Calibration and Decision Thresholds
  27. Learning Curves and Slice-Based Error Analysis
  28. Impurity Importance and Its Biases
  29. Permutation Importance on Unseen Data
  30. Correlated Features, Grouped Permutations, and Ablation
  31. Forest Diagnostics Lab
  32. Ranking and Recommendation Evaluation
  33. Recurrent State, Gating, and Sequence Validation
  34. Adversarial Objectives and Generative Evaluation
  35. Reproduce a Training Decision
  36. Point-in-Time Features and Delayed Labels
  37. Capstone: Select and Audit a Predictive Model
  38. Defend the Model and Its Limits
  39. Rewards, Bellman Updates, and Exploration
  40. Bootstrap Uncertainty and Paired Comparisons
  41. Partial Dependence and SHAP Assumptions
  42. Forecasting with Rolling Origins