liveBook · Manning

Preprocessing

As explained in Machine Learning Platform Engineering

Data preparation is the process of cleaning, transforming, organizing, and otherwise making data suitable for model development.

Preprocessing turns raw data into a reliable foundation for model development. Its quality directly affects model reliability and efficacy, so it belongs inside an iterative, automated ML workflow rather than a one-off notebook task. section 7.0 section 1.1.1

A production-oriented preprocessing workflow typically:

  • Explores data interactively with Kubeflow notebooks before formalizing repeatable transformations. section 7.0
  • Downloads or collects the dataset as a distinct pipeline stage. section 7.3
  • Splits data into training, test, and validation datasets. section 7.3
  • Packages each operation as a composable, well-defined Kubeflow component. section 7.3
  • Revisits preparation when training or evaluation exposes dataset problems. section 1.1.1 section 1.4.1

Object-detection preparation pipeline

An ID-card detection workflow downloads the dataset, divides it into training, test, and validation sets, and connects the two operations into one executable Kubeflow Pipeline. The same preparation pattern supports broader capstone workflows, including movie recommendation. section 7.0 section 7.3

Figure 7.1 The mental map where we’re now focusing on the first step/component of our pipeline—data collection and preparation (3)
A screenshot of a computer

AI-generated content may be incorrect.

Use the pipeline mental map to locate preprocessing at the data collection and preparation stage. section 7.0

How Machine Learning Platform Engineering covers it

How deep it goes
Breaks preparation into downloading, splitting, notebook exploration, and Kubeflow component construction, while deferring broader pipeline stages.
Examples
Uses ID-card detection and movie recommendation projects, with dataset download and training, test, and validation splits.
What it assumes
Assumes foundational MLOps knowledge while introducing Kubeflow notebooks, components, and pipelines through practical projects.
What you can do after
Build it from scratch as composable Kubeflow components assembled into an executable, reproducible preparation pipeline.
How it connects
Connects data collection, model training, model evaluation, validation, monitoring, Kubeflow notebooks, and Kubeflow Pipelines.

Also explained in

Compare how 22 books explain preprocessing →

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.