Book Image

Machine Learning on Kubernetes

By : Faisal Masood, Ross Brigoli
Book Image

Machine Learning on Kubernetes

By: Faisal Masood, Ross Brigoli

Overview of this book

MLOps is an emerging field that aims to bring repeatability, automation, and standardization of the software engineering domain to data science and machine learning engineering. By implementing MLOps with Kubernetes, data scientists, IT professionals, and data engineers can collaborate and build machine learning solutions that deliver business value for their organization. You'll begin by understanding the different components of a machine learning project. Then, you'll design and build a practical end-to-end machine learning project using open source software. As you progress, you'll understand the basics of MLOps and the value it can bring to machine learning projects. You will also gain experience in building, configuring, and using an open source, containerized machine learning platform. In later chapters, you will prepare data, build and deploy machine learning models, and automate workflow tasks using the same platform. Finally, the exercises in this book will help you get hands-on experience in Kubernetes and open source tools, such as JupyterHub, MLflow, and Airflow. By the end of this book, you'll have learned how to effectively build, train, and deploy a machine learning model using the machine learning platform you built.
Table of Contents (16 chapters)
1
Part 1: The Challenges of Adopting ML and Understanding MLOps (What and Why)
5
Part 2: The Building Blocks of an MLOps Platform and How to Build One on Kubernetes
10
Part 3: How to Use the MLOps Platform and Build a Full End-to-End Project Using the New Platform

Summary

In this chapter, you have gained a better understanding of ML engineering and how it differs from data science. You have also learned about some of the responsibilities of ML engineers. You must take note that the definition of ML engineering and the role of ML engineers are still evolving, as more and more techniques are surfacing. One such technique that we will not talk about in this book is online ML.

You have also learned how to create a custom notebook image and use it to standardize notebook environments. You have trained a model in the Jupyter notebook while using MLflow to track and compare your model development parameters, training results, and metrics. You have also seen how MLflow can be used as a model registry and how to promote model versions to different stages of the lifecycle.

The next chapter will continue the ML engineering domain and you will package and deploy ML models to be consumed as an API. You will then automate the package and deploy the...