liveBook · Manning

Machine learning workflow

As explained in Deep Learning with R, Third Edition

A machine learning workflow is an organized sequence of activities for defining a problem, preparing data, developing a model, and deploying and maintaining the resulting system.

A machine learning workflow is a repeatable sequence for turning a real-world problem into a maintained machine learning system. It covers defining the task, developing a model, and deploying it. section 6.0

Use the workflow in this order:

  • Define the task: understand the domain and business logic, identify available data, decide what to predict, collect or label more data when necessary, and choose a reliable success metric. section 6.0 section 20.1.5
  • Develop the model: prepare and vectorize the data, establish training, validation, and test sets without label leakage, choose a validation protocol, and beat a trivial baseline. section 6.0 section 20.1.5
  • Refine and deploy: make the model overfit to identify sufficient capacity, then tune hyperparameters and add regularization using validation results; present, ship, monitor, and collect data for the next model generation. section 6.0 section 20.1.5

Satellite images and archaeological sites

To predict previously unknown archaeological sites from satellite images, first define the prediction target and success metric, then collect and prepare labeled imagery, establish leakage-safe validation, train a baseline and improving model, and finally deploy and monitor it. section 6.0 section 20.1.5

How Deep Learning with R, Third Edition covers it

How deep it goes
Provides a procedural blueprint covering data, validation, baselines, capacity, regularization, deployment, and monitoring without detailed algorithmic derivations.
Examples
Uses satellite images for archaeological-site prediction and contrasts real-world work with ready-made tutorial datasets.
What it assumes
Assumes domain understanding and available-data analysis, while teaching the surrounding workflow that model-building tutorials often omit.
What you can do after
Apply the workflow to frame a problem, evaluate models safely, improve generalization, and plan deployment and maintenance.
How it connects
Connects problem definition, dataset collection, data preprocessing, validation, baseline models, hyperparameters, regularization, deployment, and monitoring.

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 Deep Learning with R, Third Edition. The section links point to the parts of the book it draws on.