liveBook · Manning

Chapter 2: What is MLOps?

What you will learn in chapter 2 of Machine Learning Platform Engineering

The chapter introduction frames MLOps around the gap between a useful model and a reliable ML system, then previews the iterative life cycle and the chapter’s scope.

After this chapter you will be able to

What it builds on

Section by section

Introduction

The chapter introduction frames MLOps around the gap between a useful model and a reliable ML system, then previews the iterative life cycle and the chapter’s scope.

Key terms: business value, requirements, infrastructure, MLOps, closed loop, continuously improves, ML life cycle, mental map, input requirements, problem definition

2.1 The iterative MLOps life cycle

This section presents ML engineering as an evolving loop and explains why repeatable workflows and stakeholder agreement are needed before and throughout a project.

Key terms: closed loop, iterative MLOps life cycle, ephemeral, robust workflow, developer velocity, standardization, lineage, model (weights + networks), code (model architecture and supporting code), problem statement

2.1.1 Data collection

This section explains how careful, traceable data collection supports the iterative ML life cycle and introduces the datasets used in the book’s projects.

Key terms: data relevance, class bias, unintentional leakage, representative of the deployment environment, diversity, open source datasets, fine-tuned, transfer learning, deployment environment, data lineage

2.1.2 Exploratory Data Analysis

This section explains how exploratory data analysis reveals data problems, tests assumptions, and guides repeated decisions throughout the MLOps life cycle.

Key terms: exploratory data analysis (EDA), schema, class balancing, features, outliers, multivariate analysis, dimensionality reduction, Principal Component Analysis (PCE), t-distributed Stochastic Neighbor Embedding (t-SNE), assumptions

2.1.3 Modeling and training

This section explains how model choice, traceable training practices, and modular code support reproducible experimentation, then illustrates those ideas across the book’s ML projects.

Key terms: modeling phase, problem statement, classification, detection, regression, model and data versioning, experiment tracking, model training pipelines, lineage, traceability

2.1.4 Model evaluation

This section explains how to evaluate a trained model for its target domain using appropriate metrics, a controlled holdout dataset, error analysis, and repeatable evaluation workflows.

Key terms: target domain, precision, recall, F1 score, mean absolute error (MAE), mean squared error (MSE), holdout dataset, data leakage, lineage, versioning

2.1.5 Deployment

Deployment turns a trained model into a production service or device-based application, with testing, staged release, version control, and monitoring to keep it useful.

Key terms: API endpoint, microservices architecture, edge device, optimization, latency, quantization, deployment environment, staging, production, model version control

2.1.6 Monitoring

This section explains how monitoring keeps a deployed model reliable by detecting data and performance problems, investigating their causes, and alerting people who can act.

Key terms: model monitoring, downstream metrics, concept drift, data monitoring, data drift, performance monitoring, error monitoring, model version control, logging, edge cases

2.1.7 Maintenance, updates, and review

This section explains how monitoring feeds maintenance and updates throughout the ML life cycle, then previews how the book’s projects will put that feedback into practice.

Key terms: maintenance, updates, and review, model monitoring, edge cases, data drift, retrain, deployment component, data collection, concept and data drift, newer version, ID card detection project

2.2 Why is robust MLOps important ?

This section explains why production ML is difficult and why investing in robust MLOps pays off despite its complexity.

Key terms: ML loop, system architecture, data exchange, data pipelines, visibility, privacy, data security, fairness, diversity, precision

2.3 Role of MLOps in a mature organization

This section explains how a shared MLOps strategy helps a mature organization experiment faster, use resources efficiently, collaborate, and operate reliable models at scale.

Key terms: infrastructure abstraction, model versioning, lineage, A/B testing, central ML workflow, shared components, resource allocation, automated scaling, collaboration, MLOps

2.4 DevOps vs. MLOps

This section explains what MLOps shares with DevOps and why data, evolving models, and experimental ML workflows require additional practices.

Key terms: automation, CI/CD, multidisciplinary, data life cycle, Continuous Training, model management, versioning, model interpretability, bias, monitoring

2.5 Levels of MLOps maturity

The section introduces automation of the ML loop as a measure of MLOps maturity and a driver of faster model development and adaptation.

Key terms: level of automation, ML loop, MLOps maturity, velocity

2.5.1 Level 0: Basic

Level 0 is the starting MLOps maturity stage, marked by manual model workflows, no monitoring, and infrequent releases.

Key terms: Level 0, manual script-based processes, monitoring, release iterations

2.5.2 Level 1: Intermediate

Level 1 MLOps replaces model-only deployment with an automatically triggered retraining pipeline, supported by reusable components and operational safeguards.

Key terms: Level 1, retraining pipeline, continuous delivery of models, prediction services, modular pipeline components, experimental-operational symmetry, data and model validation, feature store, pipeline monitoring, lineage

2.5.3 Level 2: Advanced

This section describes advanced MLOps maturity, explains how to use maturity levels to plan progress, and connects those ideas to the platform-building work ahead.

Key terms: Level 2: Advanced, pipelines, pipeline components, ML loop, data analysis, model analysis, components, ML engineers, data scientists, levels of maturity

2.6 Summary

The chapter summary frames MLOps as an iterative, business-driven practice and explains why its challenges require disciplined processes and organizational learning.

Where this is used later

Concepts explained in this chapter

← Chapter 1: Getting started with MLOps and ML engineering Chapter 3: Building applications on Kubernetes →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.