Skip to content

MLOps Guide

MlOps Banner

This site is intended to be a MLOps Guide to help projects and companies to build more reliable MLOps environment. This guide should contemplate the theory behind MLOps and an implementation that should fit for most use cases. Made by Arthur Olga, Gabriel Monteiro, Guilherme Leite and Vinicius Lima

What is MLOps?

MLOps is a methodology of operation that aims to facilitate the process of bringing an experimental Machine Learning model into production and maintaining it efficiently. MLOps focus on bringing the methodology of DevOps used in the software industry to the Machine Learning model lifecycle. In that way we can define some of the main features of a MLOPs project:

  • Data and Model Versioning
  • Feature Management and Storing
  • Automation of Pipelines and Processes
  • CI/CD for Machine Learning
  • Continuous Monitoring of Models

What is Contemplated on This Guide?

  • Introduction to MLOps Concepts
  • Tutorial for Building a MLOps Environment

MLOps Environment

This video shows how an example of workflow with a complete MLOps project. This exact project can be found here and is an example end-to-end made for this guide.

Architecture

The following diagram shows the complete MLOps flow used on the tutorial. Since the guide is modular, a team can choose to swap tools at any point due to project preferences and use cases.

Diagram

Project Tools

The main tools discussed in the guide are shown in the following table.

ToolsFunctionDeveloperLicense
IBM Watson MLDeploying model as APIIBMProprietary
IBM Watson OpenScaleMonitoring Model in productionIBMProprietary
DVCData and Model VersioningIterativeApache License 2.0
CMLPipeline AutomationIterativeApache License 2.0
TerraformSetups IBM infrastructure with scriptHashiCorpMozilla Public License v2.0
Code versioningProprietary
ActionsCI/CD AutomationProprietary
PytestPython script testingPytest-devMIT
Pre-commitRunning tests on local commitPre-commitMIT
CookiecutterCreating folder structure and filesCookiecutterBSD 3-Clause

Next

MLOps Theory

📚 Learn More About MLOps Theory

Tip

It is recommended that you learn about the theory before implementing MLOps into your project

Implementation Guide

📃 Follow the Tutorial to Start a Project