Book Image

MLOps with Red Hat OpenShift

By : Ross Brigoli, Faisal Masood
Book Image

MLOps with Red Hat OpenShift

By: Ross Brigoli, Faisal Masood

Overview of this book

MLOps with OpenShift offers practical insights for implementing MLOps workflows on the dynamic OpenShift platform. As organizations worldwide seek to harness the power of machine learning operations, this book lays the foundation for your MLOps success. Starting with an exploration of key MLOps concepts, including data preparation, model training, and deployment, you’ll prepare to unleash OpenShift capabilities, kicking off with a primer on containers, pods, operators, and more. With the groundwork in place, you’ll be guided to MLOps workflows, uncovering the applications of popular machine learning frameworks for training and testing models on the platform. As you advance through the chapters, you’ll focus on the open-source data science and machine learning platform, Red Hat OpenShift Data Science, and its partner components, such as Pachyderm and Intel OpenVino, to understand their role in building and managing data pipelines, as well as deploying and monitoring machine learning models. Armed with this comprehensive knowledge, you’ll be able to implement MLOps workflows on the OpenShift platform proficiently.
Table of Contents (13 chapters)
Free Chapter
1
Part 1: Introduction
3
Part 2: Provisioning and Configuration
6
Part 3: Operating ML Workloads

Architecting a human face detector system

We will start by defining the business use case, its utility, and an architectural diagram of how the components work together.

The idea is to collect a video feed from where you can detect multiple objects and respond accordingly. For example, in our case, we are detecting a human face in a real-time video feed. This system could capture the feed from the front of your house and work as a security system. Or, you can apply the same workflow to detect potholes on the road through a continuous video feed collected by a car.

Once the camera captures the feed, it sends the video frame by frame to an application running on your OpenShift cluster, which then calls the model for inference. Once the model detects a face, the calling application displays and stores the results in a Redis cache (you can further enhance the application to store the results in a database), from where you can display the result or generate an alert. The backend application...