Solution Patterns: Machine Learning and Data Science Pipelines using OpenShift AI

This solution pattern brings an architectural solution demonstrating how one can use machine learning with an example based on stock price prediction. In this solution pattern, we will show the deployment of machine learning model using data science pipelines and how we can set up these pipelines.

Contributors: Gaurav Midha, Ritesh Shah


Solutions Patterns help you understand the art of the possible with Red Hat’s portfolio, and not intended to be used as is for production environments. You are welcome to use any part of this solution pattern for your own workloads.

1. Use cases

Common use cases that can be address with this architecture are:

  • Build, train and deploy machine learning model using Red Hat OpenShift AI.

  • Use S3 backend storage for storing the model.

  • Create and run Data Science pipelines in OpenShift.

  • Consume the model via REST endpoint through a python application deployed in OpenShift.

2. The story behind this solution pattern

Artificial Intelligence: Turn an organization’s data into a valuable business asset and a competitive advantage. Artificial intelligence (AI) and machine learning (ML) technologies employ data to deliver business insight, automate tasks, and advance system capabilities. These technologies can help an organization transform all aspects of their business to achieve measurable business outcomes like improving customer satisfaction and becoming more competitive.

Red Hat OpenShift Data Science is an open source machine learning (ML) platform for the hybrid cloud. By providing a fully supported environment to establish MLOps best practices, data scientists and developers can rapidly train, deploy and monitor ML workloads and models on-premise and in the public cloud.

Red Hat OpenShift AI is an AI-focused portfolio that provides tools across the full lifecycle of AI/ML experiments and models and includes Red Hat OpenShift Data Science.

rhoai img

Platform for running AI workloads:

Red Hat OpenShift AI is an artificial intelligence (AI) platform that provides tools to rapidly develop, train, serve, and monitor machine learning models on site, in the public cloud, or at the edge.

OpenShift AI gives data scientists and developers a powerful AI/ML platform for building AI-enabled applications. Data scientists and developers can collaborate to move from experiment to production in a consistent environment quickly.

3. The Solution

This solution pattern demonstrates how we can build, train and deploy machine learning model using Red Hat OpenShift AI. We will consume the model via REST endpoint through a python application deployed in OpenShift.