Book Image

Engineering MLOps

By : Emmanuel Raj
Book Image

Engineering MLOps

By: Emmanuel Raj

Overview of this book

Engineering MLps presents comprehensive insights into MLOps coupled with real-world examples in Azure to help you to write programs, train robust and scalable ML models, and build ML pipelines to train and deploy models securely in production. The book begins by familiarizing you with the MLOps workflow so you can start writing programs to train ML models. Then you’ll then move on to explore options for serializing and packaging ML models post-training to deploy them to facilitate machine learning inference, model interoperability, and end-to-end model traceability. You’ll learn how to build ML pipelines, continuous integration and continuous delivery (CI/CD) pipelines, and monitor pipelines to systematically build, deploy, monitor, and govern ML solutions for businesses and industries. Finally, you’ll apply the knowledge you’ve gained to build real-world projects. By the end of this ML book, you'll have a 360-degree view of MLOps and be ready to implement MLOps in your organization.
Table of Contents (18 chapters)
1
Section 1: Framework for Building Machine Learning Models
7
Section 2: Deploying Machine Learning Models at Scale
13
Section 3: Monitoring Machine Learning Models in Production

Chapter 5: Model Evaluation and Packaging

In this chapter, we will learn in detail about ML model evaluation and interpretability metrics. This will enable us to have a comprehensive understanding of the performance of ML models after training them. We will also learn how to package the models and deploy them for further use (such as in production systems). We will study in detail how we evaluated and packaged the models in the previous chapter and explore new ways of evaluating and explaining the models to ensure a comprehensive understanding of the trained models and their potential usability in production systems.

We begin this chapter by learning various ways of measuring, evaluating, and interpreting the model's performance. We look at multiple ways of testing the models for production and packaging ML models for production and inference. An in-depth study of the ML models' evaluation will be carried out as you will be presented with a framework to assess any kind...