liveBook · Manning

Machine learning workflow

As explained in Machine Learning Platform Engineering

The end-to-end sequence of activities through which a machine learning solution progresses from problem formulation and experimentation through deployment, operation, and retirement.

A machine learning workflow is the path from defining a useful problem to operating—and eventually retiring—a model. It is a loop, not a one-way checklist: changing requirements, data, or model performance can send a team back to earlier decisions. section 1.4.1 section 2.1

Use the phases to organize work, while allowing steps to be revisited, combined, or skipped when appropriate:

  • Define the problem with stakeholders, then collect and prepare data for training and evaluation. section 2.1 section 1.5
  • Version data, automate training in a pipeline, and track models and their supporting code so results remain reproducible. section 1.5 section 2.1
  • Deploy the model for use, then monitor data and model behavior. Revisit earlier phases when performance or conditions change; retire models when appropriate. section 6.0 section 1.4.1

Production work needs more than a successful notebook experiment. Kubeflow Pipelines can connect stages as components that pass data downstream; feature stores can supply prepared features for training and serving. Deployment and monitoring then make the trained model an operating service whose behavior can be checked over time. section 1.3.3 section 6.0

When the loop turns back

If a model performs poorly during training, return to data preparation rather than treating deployment as the inevitable next step. A deployed used-car price predictor may likewise need new versions as customer needs and market conditions change. section 1.4.1 section 2.1

Figure 2.2 ML as a loop
A collage of a cell phone with a hand holding a passport

AI-generated content may be incorrect.

The loop diagram reinforces that a model changes through repeated problem, data, and model decisions rather than a single pass. section 2.1

How Machine Learning Platform Engineering covers it

How deep it goes
Explains phases, iteration, and automation through production scenarios; leaves detailed implementation of individual tools to their respective treatments.
Examples
Uses a changing used-car price predictor, a training setback that prompts data rework, and an income-classification deployment.
What it assumes
Assumes software-engineering and basic ML-framework familiarity, but not expertise in algorithm internals such as backpropagation.
What you can do after
Practice/perform an iterative workflow that aligns a problem, automates repeatable stages, and responds to production changes.
How it connects
Connects data preparation, reproducibility, ML pipelines, model deployment, monitoring, data drift, and model lineage.

Also explained in

Compare how 7 books explain machine learning workflow →

Related concepts

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