Skip to content
Sajith JeewanthaSoftware Engineer

Track 06 · Core

ML Engineering & MLOps

Turn models into reliable products: classical ML done right, feature pipelines, experiment tracking, automated training pipelines, model serving and monitoring for drift.

Last updated
Total effort
790 h · ≈ 79 weeks
Your progress

Overview

ML engineering is the discipline of getting machine learning out of notebooks and into production, and keeping it working there. It starts with solid classical ML (problem framing, honest validation, gradient-boosted trees that still win on tabular data) and grows into the systems around the model: reproducible feature pipelines, experiment tracking, automated retraining, model registries, low-latency serving and monitoring that notices when the world drifts away from your training data. Google's well-known observation is that the model is a small box in a much larger system, and this track is about that larger system.

Why it matters heading into 2027

Most companies adopting AI are not training frontier models. They need engineers who can ship and operate models, both classical and LLM-based, with the same rigour as any other production service. Kubernetes has become the default platform for this: the CNCF reports that 66% of organisations hosting generative-AI models use it for inference. MLOps skills (pipelines, registries, serving, monitoring) carry straight over to LLMOps, and the data and evaluation discipline from this track is what makes AI engineering and deep learning work trustworthy.

Prerequisites

  • Python, pandas and NumPy; comfortable with Git and the command line.
  • Foundations Beginner stage: basic statistics and probability, vectors and matrices.
  • Software Engineering Beginner stage: testing, packaging, Docker basics.
  • SQL for pulling and joining data (see Data Engineering).

Learning path

How the stages build on each other, and where this track hands off to others.

flowchart TB
  P["Prereqs: Python · stats · SQL · Docker"] --> B
  subgraph B["1 · Beginner — classical ML done right"]
    direction LR
    B1["framing & metrics"] --> B2["sklearn pipelines"] --> B3["honest validation"]
  end
  subgraph I["2 · Intermediate — reproducible ML"]
    direction LR
    I1["gradient boosting"] --> I2["experiment tracking"] --> I3["model as an API"]
  end
  subgraph A["3 · Advanced — production pipelines"]
    direction LR
    A1["feature pipelines"] --> A2["automated training"] --> A3["registry & CI/CD"] --> A4["monitoring & drift"]
  end
  subgraph E["4 · Expert — ML platforms"]
    direction LR
    E1["feature store"] --> E2["scalable serving"] --> E3["online experiments"] --> E4["platform design"]
  end
  B --> I --> A --> E
  A -.-> DL["Deep Learning"]
  E -.-> CLOUD["Cloud: secure serving"]
  E -.-> AIE["AI Engineering: LLMOps"]

Stages

Tick items as you go — progress is saved in this browser only. Times are focused hours (reading + building); the week estimates follow the study time you pick above.

01Beginner110 h · ≈ 11 weeksLearn to frame problems and evaluate models honestly. Classical ML with scikit-learn, where most real-world bugs are data and evaluation bugs.

Key concepts

Build these

Ready for the next stage when…

02Intermediate160 h · ≈ 16 weeksMake ML reproducible and shippable: gradient boosting, tuning, experiment tracking, packaging a model behind an API with tests.

Key concepts

Build these

Ready for the next stage when…

03Advanced220 h · ≈ 22 weeksBuild production ML pipelines: automated training, CI/CD for models, feature pipelines that match between training and serving, and monitoring.

Key concepts

Build these

Ready for the next stage when…

04Expert300 h · ≈ 30 weeksDesign ML platforms for many teams and models: feature stores, scalable serving on Kubernetes, online experimentation, cost and governance.

Key concepts

Build these

Ready for the next stage when…

Field guide

The ideas behind the checklist, with diagrams and the math where it helps.

The model is the small box

The most useful picture in MLOps comes from Google’s Hidden Technical Debt paper: the ML code is a small part of a real ML system. Around it sit data collection, validation, feature extraction, serving, monitoring and configuration. Most production failures happen in those surrounding boxes.

flowchart TB
  subgraph OFF["Offline: training"]
    direction LR
    D["raw data"] --> V["validate"] --> F["feature pipeline"] --> T["train & tune"] --> EV["evaluate vs prod"] --> R["model registry"]
  end
  subgraph ON["Online: serving"]
    direction LR
    REQ["request"] --> OF["online features"] --> M["model server"] --> RESP["prediction"]
  end
  subgraph MON["Monitor"]
    direction LR
    L["log inputs & outputs"] --> DR["drift & quality checks"] --> AL["alert / retrain"]
  end
  R -- "approved version" --> M
  F -. "same feature code" .-> OF
  RESP --> L
  AL -. "trigger" .-> T

The dotted “same feature code” line matters most. If training computes a feature one way and serving computes it another way (training–serving skew), the model quietly gets worse while every offline metric looks fine.

Honest evaluation

Your validation score only means something if the validation data looks like the future the model will face.

  • Random splits are fine for independent, identically distributed rows.
  • Time-based splits are required when you predict the future: train on the past, validate on the period after it.
  • Group splits keep all rows from one user or patient on the same side, so the model can’t memorise individuals.

For imbalanced problems, precision and recall tell you more than accuracy:

precision=TPTP+FP,recall=TPTP+FN,F1=2 precision⋅recallprecision+recall\text{precision} = \frac{TP}{TP + FP}, \qquad \text{recall} = \frac{TP}{TP + FN}, \qquad F_1 = \frac{2\,\text{precision}\cdot\text{recall}}{\text{precision} + \text{recall}}

A fraud model with 99.9% accuracy can catch zero fraud if only 0.1% of transactions are fraudulent. Always report a baseline, and add confidence intervals (bootstrap the test set) before claiming one model beats another.

MLOps maturity in three levels

Google’s MLOps guide describes three levels. Use them to describe where a team is and what the next step is.

LevelWhat it looks likeTypical pain
0 — manualnotebooks, hand-run training, models copied to serversnobody can reproduce last month’s model
1 — pipeline automationan orchestrated training pipeline retrains on new datapipeline code changes are still deployed by hand
2 — CI/CD of pipelinespipeline code is tested and deployed automatically; models promoted by gatesneeds platform investment and discipline

Most teams should aim for level 1 first. Level 2 pays off once several models and people share the platform.

Drift: when the world moves

Two kinds of change break deployed models:

  • Data drift: the input distribution p(x)p(x) changes, for example a new customer segment.
  • Concept drift: the relationship p(y∣x)p(y \mid x) changes, for example fraudsters adapting.

A common drift score for one feature is the Population Stability Index across bins ii, comparing the expected (training) share eie_i with the actual (production) share aia_i:

PSI=∑i(ai−ei) ln⁡aiei\text{PSI} = \sum_i (a_i - e_i)\,\ln\frac{a_i}{e_i}

As a rule of thumb, PSI above about 0.2 deserves a look. Drift alerts are only useful if someone owns them, so decide who gets paged and which retraining or rollback playbook they follow before you turn alerts on.

From MLOps to LLMOps

LLM applications reuse almost everything here: version the prompt, retrieval index and model together; put eval suites in CI as deployment gates; trace every request; watch cost per request alongside latency. The difference is that “accuracy” becomes a set of task-specific evals, which the AI Engineering track covers.

How this track connects

References

Original sources first: arXiv, official docs, university courses and lab blogs. Every link was checked on 7 Nov 2026.

Foundational & seminal papers(5)

  1. Machine Learning: The High Interest Credit Card of Technical Debt

    Sculley et al. · 2014 · research.google

    The first warning that ML systems accumulate hidden debt.

  2. Hidden Technical Debt in Machine Learning Systems

    Sculley et al. · 2015 · papers.nips.cc

    The model is a tiny box in a big system — the founding text of MLOps.

  3. XGBoost: A Scalable Tree Boosting System

    Chen & Guestrin · 2016 · arxiv.org

    Why gradient-boosted trees became the default for tabular data.

  4. The ML Test Score: A Rubric for ML Production Readiness and Technical Debt Reduction

    Breck et al. · 2017 · research.google

    A concrete checklist for tests and monitoring; use it to audit your own pipelines.

  5. TFX: A TensorFlow-Based Production-Scale Machine Learning Platform

    Baylor et al. · 2017 · research.google

    A reference design for an end-to-end ML platform.

Courses & videos(5)

  1. Machine Learning Specialization

    Andrew Ng, DeepLearning.AI & Stanford · coursera.org

    The gentlest solid introduction to supervised and unsupervised learning.

  2. Machine Learning in Production

    DeepLearning.AI · coursera.org

    Deployment, data drift and the ML project lifecycle.

  3. CS 329S: Machine Learning Systems Design

    Chip Huyen, Stanford · stanford-cs329s.github.io

    Lecture notes on designing real ML systems.

  4. Made With ML

    Goku Mohandas · madewithml.com

    End-to-end MLOps course with tests, CI and serving.

  5. Full Stack Deep Learning

    FSDL · fullstackdeeplearning.com

    How to ship deep-learning products, from data to deployment.

Books(4)

  1. Designing Machine Learning Systems

    Chip Huyen · 2022 · oreilly.com

    The core book for this track: data, features, deployment, monitoring.

  2. Hands-On Machine Learning with Scikit-Learn and PyTorch

    Aurélien Géron · 2025 · ageron.github.io

    The practical classic, now with PyTorch.

  3. An Introduction to Statistical Learning (ISLR / ISLP)

    James, Witten, Hastie, Tibshirani & Taylor · statlearning.com

    Free, clear statistical foundations with R and Python labs.

  4. The Elements of Statistical Learning

    Hastie, Tibshirani & Friedman · 2009 · hastie.su.domains

    The deeper, mathematical reference (free).

Articles, blogs & official docs(10)

  1. Rules of Machine Learning

    Martin Zinkevich, Google · developers.google.com

    43 hard-won rules; start with rule #1 — don't be afraid to launch without ML.

  2. MLOps: Continuous delivery and automation pipelines in machine learning

    Google Cloud · cloud.google.com

    Defines MLOps maturity levels 0, 1 and 2.

  3. scikit-learn User Guide

    scikit-learn · scikit-learn.org

    The best free reference for classical ML, with pitfalls sections.

  4. MLflow documentation

    MLflow · mlflow.org

    Experiment tracking, model registry and LLM tracing.

  5. Feast documentation

    Feast · docs.feast.dev

    Open-source feature store; learn point-in-time joins here.

  6. KServe

    KServe · kserve.github.io

    Model serving on Kubernetes, including LLM runtimes.

  7. BentoML documentation

    BentoML · docs.bentoml.com

    Package and serve models as APIs with batching.

  8. Ray documentation

    Anyscale / Ray · docs.ray.io

    Distributed training, tuning and Ray Serve.

  9. Kubeflow documentation

    Kubeflow · kubeflow.org

    ML pipelines and training operators on Kubernetes.

  10. Evidently documentation

    Evidently AI · docs.evidentlyai.com

    Data and prediction drift reports and monitoring.