liveBook · Manning

Software release lifecycle

As explained in Machine Learning System Design

A release cycle is the recurring process and timing by which changes to a software system are prepared, verified, and deployed.

An ML release cycle resembles regular software delivery, but model changes require slower, harder-to-interpret validation and may need human judgment before deployment. section 13.2

Plan for two release complications:

  • Allow for longer validation because retraining a model takes substantially more time than compiling code or building ordinary artifacts. section 13.2
  • Assess regressions rather than trusting tests alone; an overall score can improve while harmful errors appear elsewhere. section 13.2
  • Assign a human reviewer when tradeoffs require contextual judgment, using an ML engineer, product manager, domain expert, or aggregated user feedback. section 13.2
  • Consider automatic model release in simpler cases where AutoML supports the model decision without automating the whole system. section 13.2

A small score improvement can still be a bad release

A new model corrects three previously mislabeled test samples but introduces two new errors among 100 samples. The aggregate result improves, yet release approval still depends on whether the new errors are acceptable. section 13.2

Figure 13.3 Blue-green deployment
figure

Inspect blue-green deployment as a release rollout pattern. section 13.2

Figure 13.4 Canary deployment
figure

Inspect canary deployment as a release rollout pattern. section 13.2

How Machine Learning System Design covers it

How deep it goes
Explains testing complexity, regression tradeoffs, review roles, and conditional automation without detailing a complete deployment procedure.
Examples
Uses a 100-sample regression scenario and an autocomplete feature that mimics an author's writing style.
What it assumes
Builds on regular software release practices while teaching why ML models require additional validation and judgment.
What you can do after
Evaluate model improvements against regressions and decide when human review or automatic release is appropriate.
How it connects
Connects software testing, model training, regression testing, human-in-the-loop review, AutoML, and deployment strategies.

Also explained in

Compare how 2 books explain software release lifecycle →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Machine Learning System Design. The section links point to the parts of the book it draws on.