Skip to main content
HomeBlogMachine Learning

A Beginner's Guide to The Machine Learning Workflow

In this infographic, get a download of what the machine learning workflow looks like.
Sep 2022  · 2 min read

Machine learning is one of the most useful skills in data science. With machine learning, data practitioners are able to make predictions about key datasets, automate workflows, and extract insights. What does the machine learning workflow look like? This infographic presents a simplified view of the machine learning workflow. 

ML Workflow beginners infographic.png

Download this infographic by pressing on the image

Project Setup

Understand business goals

Speak with your stakeholders and deeply understand the business goal behind the model being proposed. A deep understanding of your business goals will help you scope the necessary technical solution, data sources to be collected, how to evaluate model performance, and more.

Choose the solution to your problem

Once you have a deep understanding of your problem—focus on which category of models drives the highest impact. See this Machine Learning Cheat Sheet for more information. 

Data preparation

Data collection

Collect all the data you need for your models, whether from your own organization, public or paid sources.

Data cleaning

Turn the messy raw data into clean, tidy data ready for analysis. Check out this data cleaning checklist for a primer on data cleaning. 

Feature engineering

Manipulate the datasets to create variables (features) that improve your model’s prediction accuracy. Create the same features in both the training set and the testing set.

Split the data

Randomly divide the records in the dataset into a training set and a testing set. For a more reliable assessment of model performance, generate multiple training and testing sets using cross validation

Modeling

Hyperparameter tuning

For each model, use hyperparameter tuning techniques to improve model performance.

Train your models

Fit each model to the training set.

Make predictions

Make predictions on the testing set.

Assess model performance

For each model, calculate performance metrics on the testing set such as accuracy, recall and precision.

Deployment

Deploy the model

Embed the model you chose in dashboards, applications, or wherever you need it.

Monitor model performance

Regularly test the performance of your model as your data changes to avoid model drift

Improve your model

Continously iterate and improve your model post deployment. Replace your model with an updated version to improve performance.

Related
Top MLOps Tools

17 Top MLOps Tools You Need to Know

Discover top MLOps tools for experiment tracking, model metadata management, workflow orchestration, data and pipeline versioning, model deployment and serving, and model monitoring in production.
Abid Ali Awan's photo

Abid Ali Awan

13 min

A tiny computer used for ML

What is TinyML? An Introduction to Tiny Machine Learning

Learn about TinyML, its applications and benefits, and how you can get started with this emerging field of machine learning.
Kurtis Pykes 's photo

Kurtis Pykes

8 min

What is Machine Learning Inference? An Introduction to Inference Approaches

Learn how machine learning inference works, how it differentiates from traditional machine learning training, and discover the approaches, benefits, challenges, and applications.
Zoumana Keita 's photo

Zoumana Keita

10 min

Introduction to Unsupervised Learning

Learn about unsupervised learning, its types—clustering, association rule mining, and dimensionality reduction—and how it differs from supervised learning.
Kurtis Pykes 's photo

Kurtis Pykes

9 min

Building Great Machine Learning Products at Opendoor

Discover principles for great ML product design, data collection and packaging outputs into slick user design.
Adel Nehme's photo

Adel Nehme

39 min

Understanding Data Drift and Model Drift: Drift Detection in Python

Navigate the perils of model drift and explore our practical guide to data drift monitoring.
Moez Ali 's photo

Moez Ali

9 min

See MoreSee More