
How the course is structured, what you need installed, how the hands-on lectures work, and how to get the most out of it.
The invented loan model, the eighteen months of scoring traffic it has to survive, the two failures planted inside that traffic, and a lab whose only job is to prove every figure this course quotes.
MLOps as a loop rather than a toolchain: the four questions it exists to answer, the six things the loop is made of, what it measurably buys on this course's model, and the cases where a cron job is the right answer.
Software CI/CD tests deterministic code against fixed expectations. A model's behaviour depends on data that changes, its correctness cannot be asserted by a unit test, and the artefact is not the code. What you can assert instead, and where the missing test actually lives.
The three levels as a diagnostic rather than a ladder: what each one actually looks like, what it costs to operate, what it still cannot do, and the argument that most teams should deliberately stop at the middle one.
What each tool in this course is actually for, what Course 02 already installed, and a check script that tells you which line of the install list is missing and what will break without it.
A model version is a tuple of code, data, config and environment rather than a number. How each axis is versioned, why Git alone cannot hold the second one, what the join looks like, and the three things you genuinely cannot version.
Put the eighteen traffic slices under content-addressed versioning, commit the pointers, build two training versions from different months, then check out an older commit and watch the CSV on disk change underneath you.
The four kinds of thing a run record holds - params, metrics, artefacts and context - which five fields are non-negotiable, the three characteristic failures of tracking, and what tracking deliberately does not give you.
The full treatment: what an MLflow run actually is, the tracking API, how params, metrics, artefacts and tags are stored differently, what the backing store is doing on your disk, and why the SQLite store is the one to choose.
A decision lecture rather than a second tutorial: the same three runs logged through a different API, what Weights and Biases gives you that MLflow does not, what it costs in account, data residency and per-seat bill, and how to choose one.
The registry as the answer to one question - which artefact is serving and what produced it - then promotion gates as code: the four checks, the baseline problem, aliases rather than stages, and who is allowed to press the button.
What a pipeline actually is - a graph of steps with declared inputs and outputs - what decomposition buys you, what it costs in indirection and operations, and the cases where a cron job is still the right answer.
Airflow's object model, what its scheduling semantics actually mean, why a task retry is a claim about your code rather than about the platform, and what Airflow does badly for machine learning.
Build a monthly retraining DAG over the shipped eighteen months of scoring traffic, run it from the command line, backfill three months deliberately, and watch a gate refuse to register a worse model.
TFX read as an architecture rather than a tutorial: what its components promise, what the metadata store and the blessing gate actually buy, what it assumes about your stack, and when that trade is worth making.
Infer a schema from the three training months, assert it against all eighteen months of traffic, and find the feed that degrades quietly - with a severity map that decides what blocks and what only warns.
In software a red test means the code is wrong. In a pipeline it can mean the code is wrong, the data is wrong, or the world changed - and each of those wants a different response. Block, quarantine, warn or page.
Why a model repository needs three pipelines rather than one, what continuous integration can and cannot prove about a model, and which gates deserve evidence before an artefact moves.
GitHub Actions taught entirely through the workflow file: the object model, events, jobs and isolation, caching against artifacts, secrets and short-lived credentials, concurrency, and why thin YAML calling fat scripts is the only design that survives.
Write the workflow file from lecture 4.2, prove it locally with the same shell script it calls, and push an image tagged by commit - with a local-only path for anyone who does not want a hosted account.
How the artefact reaches a cluster without anybody typing a command: push against pull-based delivery, digests rather than tags, and the model-specific decision of whether the model lives in the image or is fetched at boot.
Run the whole chain - commit, build, promote, deploy, verify, revert - against a local cluster, or with a dry run that renders and validates every manifest without a cluster at all.
What changes when the thing being rolled out is a model: you cannot canary on business outcome, so you canary on score distribution, agreement with the incumbent and input coverage - and shadow mode becomes a paired comparison worth more than any amount of canary traffic.
What a feature store actually promises - one feature definition, two read paths - what it costs to run, and the cases where a table and a cron job are the better answer.
Skew in its three shapes - definition, availability and timing - why every test you own passes while it happens, and the parity harness that turns it into a build failure.
What the two stores physically are, how a read differs between them, and why the materialisation job that copies between them is the component that actually fails.
Define one feature view over the shipped traffic, materialise it to a local online store, read the same application through both paths, then break the definition on purpose and watch the parity test catch it.
What promotion has to check once features come from a store: online availability, a pinned registry version, a materialisation watermark in the lineage record, and what rollback does not undo.
Four layers of monitoring over eighteen months of shipped traffic, and the measured result that orders them: the input monitor fires at 0.2238 for a 3.3 point problem and reads 0.0087 for a 9.47 point one.
Two failures separated properly: what moves in each, why one is detectable and one is not, and why the PSI baseline you choose changes what month 11 appears to say.
Compute PSI against both baselines over all eighteen shipped traffic slices, reproduce 0.2238, 0.0087, 0.2191 and 0.2489 exactly, and score the model month by month to see which alarm was about anything.
The conventional 0.2 threshold fires once in eighteen months for a 3.3 point problem and never for a 9.47 point one - and lowering it far enough to catch month 11 fires in fourteen months out of eighteen.
The full signal set with an action and an owner for each, including the honest finding that prediction-distribution monitoring is a cheap proxy for input drift and was equally blind to month 11.
Build this model's monitoring view as four panels driven by four queries, each answering one question, and reproduce every published figure on the page rather than in a console.
Four families of retraining trigger - scheduled, performance-based, drift-based and event-based - what each one costs, why a schedule is usually the right answer, and the measured fact that retraining recovered 6.23 of the 9.47 points the model lost.
How to model the bill for an automated retraining loop - the four cost centres, the units each one bills in, what scales with what, the line items that surprise people, and how to decide whether the loop pays for itself. No prices, because prices are wrong within a year.
What an auditor and a model risk function actually ask of an automated retraining loop, where each answer has to live, how an automated loop makes evidence easier and approval harder, and the boundary where 'is the model healthy' becomes 'why this decision'.
Ownership rather than org charts: who is paged at three in the morning, who decides to retrain, who signs a promotion, who owns each feed - and the failure mode where the model is nobody's job because it sits between two teams.
The brief: a loop that walks the shipped 18 months one month at a time and detects, decides, retrains, validates, promotes and rolls back on its own - with acceptance criteria a harness checks, and a log that explains every decision it made.
My own automated loop over the shipped 18 months: the four policy clauses and why each threshold was chosen, what the loop did at month 6 and month 11, the promotion gate, and the two mistakes my first version made.
A self-audit over the six capabilities this course built, scored on evidence rather than intent, which names your weakest one and turns it into three actions - plus an honest statement of the subject this course does not contain at all.
What you can now do that you could not at the start, the four artefacts you are taking away, the four boundaries this course never crossed, and the one sentence worth keeping.
This course contains the use of artificial intelligence.
Your model is serving. You are now the person who gets paged about it. That is the gap this course is for.
This is the direct sequel to Course 02. That course got a model behind an interface, in a container, on a cluster, with a rollback you could defend. This one automates everything after that moment: the pipeline that retrains it, the registry that promotes it, the store that serves its features, and the monitor that tells you it has quietly gone wrong. Serving, containers, clusters and rollout mechanics are assumed here, not re-taught.
If you are maintaining a model by hand - retraining when somebody complains, from a folder of notebooks with dates in the filenames - you already know it does not scale. What you have probably been told is that you need MLOps, without being told what that consists of. It consists of four things, and this course builds all four from the primitive upward.
It takes a position on tools, out loud, in the first sections. MLflow is the one taught properly: the tracking API, what a run actually is, params against metrics against artefacts, the backing store, and the registry built on top of it. Weights and Biases gets one honest comparison lecture instead of a second shallow tutorial - what hosted collaboration, sweeps and reports buy you, what they cost in account, data residency and per-seat billing, and how to decide. Airflow is taught properly because you can run it; TFX is taught as an architecture and a set of guarantees. Two tools taught badly is worse than one taught well.
Nothing here walks a console. GitHub Actions, a tracking UI, a cloud registry and a monitoring dashboard all get redesigned on somebody else's schedule. You learn the workflow YAML, the API call and the object model, because those have been stable for years and a screenshot of a settings page is obsolete before the course finishes rendering.
The spine of the second half is a dataset you can reproduce: 18 months of scoring traffic for an invented small-business loan approval model, 3,000 rows a month, 54,000 in total, 8 features, trained on the first 3 months. The lender, the applicants and the data are all synthetic and seeded. At month 6 the input distribution moves: PSI against the previous month hits 0.2238, well over the conventional 0.2, the monitor screams, and accuracy falls from 72.09% to 68.78% - a loss of 3.31 points. At month 11 the relationship changes while the inputs do not: PSI reads 0.0087, quieter than the 0.0067 of an ordinary month, the monitor stays green, and accuracy falls to 59.31% - a loss of 9.47 points. An input-distribution monitor is loud about the thing that did not matter and silent about the thing that did, and no function of the inputs could ever have seen month 11. That is a limit, not a gap in your tooling.
So the monitoring section is about thresholds you can defend rather than tests you can install. At 0.2, exactly 1 of the 17 month-on-month comparisons fires, and it is not the one that cost you 9.47 points. Drop to 0.01 and 8 months fire, still catching none of it. Drop far enough to catch month 11 and 15 of 17 months fire, which is an alert nobody reads by the second week. There is no threshold on the inputs that solves this, so the lecture is about what you do instead.
Retraining is measured too, including where it falls short. Left alone, the stale model holds 59.31% on the tail months. Refit on the three months from month 11 it reaches 65.53% - a gain of 6.23 points out of the 9.47 that were lost. Report the shortfall, not just the gain. And a third failure runs the whole time that is neither kind of drift: a feed degrading quietly until 3.63% of rows arrive with no debt-service value, which every distribution test in the course ignores because PSI does not look at nulls.
Two lectures exist because tutorial-grade MLOps courses skip them. One is about cost - the four centres a bill decomposes into, the unit each bills in, which line items are missing from everybody's first estimate, and how to decide whether the automated loop pays for itself. It quotes no prices, deliberately. The other is about who owns the model in production when it is wrong at three in the morning, which is a question about team topology and on-call, not about tooling.
The capstone is a loop that walks the months forward one at a time, seeing only what had happened by then - detect, decide, retrain, validate, promote, roll back - against a written policy, with a log that has to give a reason for every decision it made. A refused challenger is a result. A loop that never refuses anything has not been tested.