Open access

Machine Learning in Depth

A Practical Reference from Classical Models to Deep Learning and AI Agents

Explore 34 chapters, try the classification threshold lab, and download the Chapter 15 notebook.

Published by TensorLearners Publications

Machine Learning in Depth cover

Chapters

Activity 15.1 is available now. The other activities are in preparation.

  1. 01
    What Machine Learning Learns1.1 Move a Prediction Line · In preparation
  2. 02
    Train and Test Your First Model2.1 Fit Earlier and Test Later · In preparation
  3. 03
    Vectors, Matrices, and Optimization3.1 Step Down a Loss Curve · In preparation
  4. 04
    Probability, Statistics, and Uncertainty4.1 Change the Fault Base Rate · In preparation
  5. 05
    Data Preparation and Exploratory Analysis5.1 Audit a Four-Row Table · In preparation
  6. 06
    Linear Regression and Regularization6.1 Compare Ridge with Least Squares · In preparation
  7. 07
    Classification and Logistic Regression7.1 Move the Classification Threshold · In preparation
  8. 08
    Nearest Neighbors, Naive Bayes, and Support Vector Machines8.1 Compare Neighbor Votes · In preparation
  9. 09
    Decision Trees, Random Forests, and Boosting9.1 Score a Tree Split · In preparation
  10. 10
    Feature Engineering and Preprocessing Pipelines10.1 Fit a Transform Inside a Fold · In preparation
  11. 11
    Clustering and Mixture Models11.1 K-Means Step by Step · In preparation
  12. 12
    Dimensionality Reduction and Representation12.1 Rotate a Projection · In preparation
  13. 13
    Anomaly and Novelty Detection13.1 Set an Alert Queue · In preparation
  14. 14
    Model Evaluation and Data Leakage14.1 Check Feature Availability · In preparation
  15. 15
    Metrics, Calibration, and Decision Thresholds15.1 Explore a Classification Threshold →
  16. 16
    Experiments and Causal Reasoning16.1 Compare Experiment Estimates · In preparation
  17. 17
    Time Series and Forecasting17.1 Move the Forecast Origin · In preparation
  18. 18
    Recommender Systems and Ranking18.1 Reorder a Ranked List · In preparation
  19. 19
    Neural Networks and the Training Loop19.1 Trace a Weight Update · In preparation
  20. 20
    Computer Vision20.1 Slide a Convolution Kernel · In preparation
  21. 21
    Sequence Models21.1 Step Through Recurrent State · In preparation21.2 Control What an LSTM Keeps · In preparation
  22. 22
    Natural Language Processing and Transformers22.1 Inspect Scaled Attention · In preparation
  23. 23
    Self-Supervised and Generative Learning23.1 Mix Signal and Noise · In preparation
  24. 24
    Reinforcement Learning and Bandits24.1 Compare Delayed Returns · In preparation
  25. 25
    ML System Design and Deployment25.1 Test a Prediction Contract · In preparation
  26. 26
    MLOps and Model Monitoring26.1 Review a Canary Release · In preparation
  27. 27
    Explainability, Responsible ML, and Security27.1 Read Group Error Rates · In preparation
  28. 28
    Modern Models and Research Frontiers28.1 Size a Low-Rank Adapter · In preparation
  29. 29
    Prompt Engineering and Structured Outputs29.1 Validate a Structured Result · In preparation
  30. 30
    Retrieval-Augmented Generation30.1 Retrieve the Supporting Passage · In preparation
  31. 31
    Tool-Using Workflows and AI Agents31.1 Follow an Agent Workflow · In preparation
  32. 32
    Building Agents with Frameworks32.1 Route and Resume a Graph · In preparation
  33. 33
    MCP and Agent-to-Agent Protocols33.1 Compare Protocol Exchanges · In preparation
  34. 34
    Agent Evaluation and the Maintenance Capstone34.1 Review a Maintenance Queue · In preparation