SlideShare a Scribd company logo
1 of 36
Download to read offline
Introducing
MLOps
Anish Cheriyan
Vimal Das K,
Inputs from Jayaraj J
9th
April, 2022.
Event organized jointly by BSPIN and
ASQ Bengaluru LMC
Image-
https://medium.com/analytics-vidhya/applications-and-types-of
-machine-learning-c177a844bf38
Agenda
★ Industry 4.0
★ Agile , CI/CD, DevOps
★ DevOps and MLOps
★ Evolution of MLOPS
★ MLOps Capabilities
★ AI Platform Pipelines
★ Training and Tuning AI Platform
★ Case Study
BSPIN has been active since 1992 with the support of individuals and organizations in Bangalore.
BSPIN’s Mission is to help the Indian Software industry to achieve breakthrough in software quality
and productivity by active practice enabled by collaborations, learning, sharing and innovating from
the practitioners’ level.
BSPIN (Bangalore SPIN) is currently the largest operational SPIN across the globe. More details
about BSPIN is available on www.bspin.org
For MEMBERSHIP-
https://bspin.org/?page_id=1480#!/SignUp/Up
membership@bspin.org
● ASQ is a global community of people passionate about quality, who use the tools, their ideas and expertise
to make our world work better. ASQ: The Global Voice of Quality.
● ASQ is a global organization with members in more than 130 countries. Headquartered in Milwaukee,
Wisconsin, we also operate centers in Mexico, India, and China. Our Society consists of member-led
communities that help members connect with other quality professionals and practitioners, advance their
knowledge and careers, and grow as thought leaders.
For MEMBERSHIP-
https://asq.org.in/membership/
Self Driving Car
AI usage for Cancer Detection
https://www.drugtargetreview.com/news/34555/ai-system-detects-canc
er-tumours-missed-by-conventional-diagnostics/
Image-
https://medium.com/analytics-vidhya/applications-and-types-of
-machine-learning-c177a844bf38
2018- Self-driving Uber car that hit and killed woman did not recognize
that pedestrians jaywalk
https://www.nbcnews.com/tech/tech-news/self-driving-uber-car-hit-killed-woman-did-not-recognize-n1079281
Industry 4.0 and ABCs
Image Reference- https://hrishikeshiyengar.wordpress.com/2021/01/31/components-of-industry-4-0-the-heart-and-soul/
https://www.synopsys.com/blogs/software-security/agile-cicd-devops-difference/
Agile , CI/CD, DevOps
What is MLOps?
An approach, like
DevOps,
developed in the
context of ML
engineering
Unifies ML System
Development and
Operations
Standardized
Processes and
Technology
Capabilities for
building,deploying,
& operationalizing
ML systems rapidly
and reliably
MLOps & DevOps
References- https://en.wikipedia.org/wiki/MLOps
Evolution of MLOps
ML Capabilities
https://ml-ops.org/content/motivation
Challenges of
Practical
Applications
of ML
Avoiding training-serving
skews that are due to
inconsistencies in data,
Handling concerns about
model fairness and
adversarial attacks.
Maintaining the veracity of
models by continuously
retraining
Performing ongoing
experimentation of new
data sources,
Preparing and maintaining
high-quality data for
training ML models.
Tracking models in
production to detect
performance degradation.
05
01
02 03
04
Challenges
Benefits of MLOps
Shorter development
cycles, and as a
result, shorter time
to market.
Better
collaboration
between teams.
Increased
reliability,
performance,
scalability, and
security of ML
systems.
Streamlined
operational and
governance
processes.
Increased return
on investment of
ML projects.
Relationship of Data
Engineering, ML Engineering,
and Application Engineering.
• Data engineering involves ingesting, integrating, curating, and
refining data to facilitate a broad spectrum of operational
tasks, data analytics tasks, and ML tasks.
• ML models are built and deployed in production using curated
data that is usually created by the data engineering team.
Lifecycle of
MLOps
Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
MLOps Detailed Workflow
Core MLOps
Technical
Capabilities of
ML Platforms
Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
Experimentation
Lets data scientists and
ML researchers
collaboratively perform
EDA, create prototype
model architectures, and
implement training
routines.
Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
Data Processing
Lets you prepare and
transform large amounts
of data for ML at scale in
ML development, in
continuous training
pipelines, and in
prediction serving.
Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
Model training
lets you efficiently and
cost-effectively run
powerful algorithms for
training ML models
Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
Model evaluation
lets you assess the
effectiveness of your
model, interactively during
experimentation and
automatically in
production.
Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
Model serving
lets you deploy and serve
your models in production
environments.
Key functionalities in
model serving include
support for near-real-time,
low latency prediction,
logging etc…
Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
Online
experimentation
lets you understand how
newly trained models
perform in production
settings compared to the
current models before you
release the new model to
production.
Model monitoring
lets you track the efficiency
and effectiveness of the
deployed models in
production to ensure
predictive quality and
business continuity.
Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
ML pipelines
lets you instrument,
orchestrate, and automate
complex ML training and
prediction pipelines in
production.
Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
Model registry
lets you govern the lifecycle
of the ML models in a central
repository. This ensures the
quality of the production
models and enables model
discovery.
Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
Dataset & feature
repository
lets you unify the
definition and the storage
of the ML data assets.
Helps data scientists and
ML researchers save time
on data preparation and
feature engineering
Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
ML metadata &
artifact repository
Enables reproducibility and
debugging of complex ML
tasks and pipelines.
Metadata about ML artifacts
such as descriptive statistics,
data schemas, trained
models, and evaluation
results are tracked in it.
Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
Real-world Case
Studies
Automated customer
support routing
Problem Statement
Automatically classify
customer support
ticket and route to the
right support agent
Automated customer support routing
Data Selection &
Exploration
- Ticket Info
- Trip info
- Customer info
Feature engineering
- Ticket message
- Time after trip
- …
Model prototyping &
validation
- learning-to-rank
approach
- retrieval-based
pointwise ranking
Training pipeline
- Batch jobs
- Yarn/Mesos cluster
Data pipeline
- Data transformation
- Kafka (pub/sub)
- Samza (stream
processing)
- Cassandra (for
training)
Model Refresh
- Model tuning
- Model evaluation
- Model validation
Service integration
- Offline mode
- Online mode
- Library mode
CI/CD pipeline
- Dynamic model
loading
- Artifacts Validation
- Serving validations
Online
experimentation
- A/B testing
Monitoring
integration
- Kafka
- Kibana
(dashboards)
Model monitoring
- RMSLE
- RMSE
- R-suqared
Data & feature
repository
- HDFS (data)
- Cassandra (feature
metadata)
Public Launch
- Gradual rollout
- Online
/Batch/Embedded
inference
Model repository
- HDFS (zip archive)
- Cassandra (model
metadata)
ML Development Training operationalization
Continuous training
Prediction serving Model deployment
Model monitoring
MLOps End-to-End Workflow
Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
Take Away
Delivering business value through ML is not only about building the best ML model for
the use case at hand, but also about building an integrated ML system that operates
continuously to adapt to changes in the dynamics of the business environment.
Such an ML system involves
❑ Collecting, processing, and managing ML datasets and features;
❑ Training, and evaluating models at scale;
❑ Serving the model for predictions;
❑ Monitoring the model performance in production; and
❑ Tracking model metadata and artifacts.
… and MLOps enables building such an ML System.
BOOK
COMING
SOON
Anish Cheriyan, Rajith Raveendran, Vimal Das Kammath
With Sheena Lakshmi
https://softwareforindustrynext.blogspot.com/
References
• Practitioners guide to MLOps:A framework for continuous delivery and automation of machine learning.Khalid Salama,
Jarek Kazmierczak, Donna Schut, Google Cloud White Paper, 2021
•
• Engineering MLOps: Rapidly build, test, and manage production-ready machine learning life cycles at scale-
Emmanuel Raj
Thank You

More Related Content

What's hot

What's hot (20)

ML-Ops how to bring your data science to production
ML-Ops  how to bring your data science to productionML-Ops  how to bring your data science to production
ML-Ops how to bring your data science to production
 
MLOps Bridging the gap between Data Scientists and Ops.
MLOps Bridging the gap between Data Scientists and Ops.MLOps Bridging the gap between Data Scientists and Ops.
MLOps Bridging the gap between Data Scientists and Ops.
 
MLOps.pptx
MLOps.pptxMLOps.pptx
MLOps.pptx
 
Ml ops intro session
Ml ops   intro sessionMl ops   intro session
Ml ops intro session
 
AutoML - The Future of AI
AutoML - The Future of AIAutoML - The Future of AI
AutoML - The Future of AI
 
AI and ML Series - Introduction to Generative AI and LLMs - Session 1
AI and ML Series - Introduction to Generative AI and LLMs - Session 1AI and ML Series - Introduction to Generative AI and LLMs - Session 1
AI and ML Series - Introduction to Generative AI and LLMs - Session 1
 
MLOps with Kubeflow
MLOps with Kubeflow MLOps with Kubeflow
MLOps with Kubeflow
 
Ml ops on AWS
Ml ops on AWSMl ops on AWS
Ml ops on AWS
 
MLOps - The Assembly Line of ML
MLOps - The Assembly Line of MLMLOps - The Assembly Line of ML
MLOps - The Assembly Line of ML
 
Introdution to Dataops and AIOps (or MLOps)
Introdution to Dataops and AIOps (or MLOps)Introdution to Dataops and AIOps (or MLOps)
Introdution to Dataops and AIOps (or MLOps)
 
Seamless MLOps with Seldon and MLflow
Seamless MLOps with Seldon and MLflowSeamless MLOps with Seldon and MLflow
Seamless MLOps with Seldon and MLflow
 
Databricks Overview for MLOps
Databricks Overview for MLOpsDatabricks Overview for MLOps
Databricks Overview for MLOps
 
Simplifying Model Management with MLflow
Simplifying Model Management with MLflowSimplifying Model Management with MLflow
Simplifying Model Management with MLflow
 
MLOps Virtual Event: Automating ML at Scale
MLOps Virtual Event: Automating ML at ScaleMLOps Virtual Event: Automating ML at Scale
MLOps Virtual Event: Automating ML at Scale
 
Introduction to MLflow
Introduction to MLflowIntroduction to MLflow
Introduction to MLflow
 
Auto-Train a Time-Series Forecast Model With AML + ADB
Auto-Train a Time-Series Forecast Model With AML + ADBAuto-Train a Time-Series Forecast Model With AML + ADB
Auto-Train a Time-Series Forecast Model With AML + ADB
 
Pythonsevilla2019 - Introduction to MLFlow
Pythonsevilla2019 - Introduction to MLFlowPythonsevilla2019 - Introduction to MLFlow
Pythonsevilla2019 - Introduction to MLFlow
 
Introducing Amazon SageMaker
Introducing Amazon SageMakerIntroducing Amazon SageMaker
Introducing Amazon SageMaker
 
MLOps by Sasha Rosenbaum
MLOps by Sasha RosenbaumMLOps by Sasha Rosenbaum
MLOps by Sasha Rosenbaum
 
MLOps – Applying DevOps to Competitive Advantage
MLOps – Applying DevOps to Competitive AdvantageMLOps – Applying DevOps to Competitive Advantage
MLOps – Applying DevOps to Competitive Advantage
 

Similar to Introducing MLOps.pdf

Similar to Introducing MLOps.pdf (20)

Paige Roberts: Shortcut MLOps with In-Database Machine Learning
Paige Roberts: Shortcut MLOps with In-Database Machine LearningPaige Roberts: Shortcut MLOps with In-Database Machine Learning
Paige Roberts: Shortcut MLOps with In-Database Machine Learning
 
Experimentation to Industrialization: Implementing MLOps
Experimentation to Industrialization: Implementing MLOpsExperimentation to Industrialization: Implementing MLOps
Experimentation to Industrialization: Implementing MLOps
 
Mohamed Sabri: Operationalize machine learning with Kubeflow
Mohamed Sabri: Operationalize machine learning with KubeflowMohamed Sabri: Operationalize machine learning with Kubeflow
Mohamed Sabri: Operationalize machine learning with Kubeflow
 
Mohamed Sabri: Operationalize machine learning with Kubeflow
Mohamed Sabri: Operationalize machine learning with KubeflowMohamed Sabri: Operationalize machine learning with Kubeflow
Mohamed Sabri: Operationalize machine learning with Kubeflow
 
Data engineering design patterns
Data engineering design patternsData engineering design patterns
Data engineering design patterns
 
SESE 2021: Where Systems Engineering meets AI/ML
SESE 2021: Where Systems Engineering meets AI/MLSESE 2021: Where Systems Engineering meets AI/ML
SESE 2021: Where Systems Engineering meets AI/ML
 
Apache ® Spark™ MLlib 2.x: How to Productionize your Machine Learning Models
Apache ® Spark™ MLlib 2.x: How to Productionize your Machine Learning ModelsApache ® Spark™ MLlib 2.x: How to Productionize your Machine Learning Models
Apache ® Spark™ MLlib 2.x: How to Productionize your Machine Learning Models
 
EPAM ML/AI Accelerator - ODAHU
EPAM ML/AI Accelerator - ODAHUEPAM ML/AI Accelerator - ODAHU
EPAM ML/AI Accelerator - ODAHU
 
Models in Minutes using AutoML
Models in Minutes using AutoMLModels in Minutes using AutoML
Models in Minutes using AutoML
 
A survey on Machine Learning In Production (July 2018)
A survey on Machine Learning In Production (July 2018)A survey on Machine Learning In Production (July 2018)
A survey on Machine Learning In Production (July 2018)
 
Accelerating Machine Learning as a Service with Automated Feature Engineering
Accelerating Machine Learning as a Service with Automated Feature EngineeringAccelerating Machine Learning as a Service with Automated Feature Engineering
Accelerating Machine Learning as a Service with Automated Feature Engineering
 
The A-Z of Data: Introduction to MLOps
The A-Z of Data: Introduction to MLOpsThe A-Z of Data: Introduction to MLOps
The A-Z of Data: Introduction to MLOps
 
Magdalena Stenius: MLOPS Will Change Machine Learning
Magdalena Stenius: MLOPS Will Change Machine LearningMagdalena Stenius: MLOPS Will Change Machine Learning
Magdalena Stenius: MLOPS Will Change Machine Learning
 
Why MLOps is Essential for AI-enabled Enterprises.pdf
Why MLOps is Essential for AI-enabled Enterprises.pdfWhy MLOps is Essential for AI-enabled Enterprises.pdf
Why MLOps is Essential for AI-enabled Enterprises.pdf
 
Technovision
TechnovisionTechnovision
Technovision
 
SW기술 동향과 글로벌 인재양성 방향
SW기술 동향과 글로벌 인재양성 방향SW기술 동향과 글로벌 인재양성 방향
SW기술 동향과 글로벌 인재양성 방향
 
Notes on Deploying Machine-learning Models at Scale
Notes on Deploying Machine-learning Models at ScaleNotes on Deploying Machine-learning Models at Scale
Notes on Deploying Machine-learning Models at Scale
 
Aditya Bhattacharya - Enterprise DL - Accelerating Deep Learning Solutions to...
Aditya Bhattacharya - Enterprise DL - Accelerating Deep Learning Solutions to...Aditya Bhattacharya - Enterprise DL - Accelerating Deep Learning Solutions to...
Aditya Bhattacharya - Enterprise DL - Accelerating Deep Learning Solutions to...
 
Ekansh Gupta CV
Ekansh Gupta CVEkansh Gupta CV
Ekansh Gupta CV
 
AzureML Welcome to the future of Predictive Analytics
AzureML Welcome to the future of Predictive Analytics AzureML Welcome to the future of Predictive Analytics
AzureML Welcome to the future of Predictive Analytics
 

More from Dr. Anish Cheriyan (PhD)

More from Dr. Anish Cheriyan (PhD) (16)

Cyber Security Threat Modeling
Cyber Security Threat ModelingCyber Security Threat Modeling
Cyber Security Threat Modeling
 
ABC of developer test
ABC of developer testABC of developer test
ABC of developer test
 
Software defined vehicles,automotive standards (safety, security), agile cont...
Software defined vehicles,automotive standards (safety, security), agile cont...Software defined vehicles,automotive standards (safety, security), agile cont...
Software defined vehicles,automotive standards (safety, security), agile cont...
 
Taking a Career Path which you are deeply passionate about
Taking a Career Path which you are deeply passionate aboutTaking a Career Path which you are deeply passionate about
Taking a Career Path which you are deeply passionate about
 
Quality 4.0 and reimagining quality
Quality 4.0 and reimagining qualityQuality 4.0 and reimagining quality
Quality 4.0 and reimagining quality
 
Quality 4.0 and quality by discovery
Quality 4.0 and quality by discoveryQuality 4.0 and quality by discovery
Quality 4.0 and quality by discovery
 
Quality assurance in dev ops and secops world
Quality assurance in dev ops and secops worldQuality assurance in dev ops and secops world
Quality assurance in dev ops and secops world
 
Quality assurance in dev ops and secops world
Quality assurance in dev ops and secops worldQuality assurance in dev ops and secops world
Quality assurance in dev ops and secops world
 
Quality management in continuous delivery and dev ops world pm footprints v1
Quality management in continuous delivery and dev ops world  pm footprints v1Quality management in continuous delivery and dev ops world  pm footprints v1
Quality management in continuous delivery and dev ops world pm footprints v1
 
Knowledge management through seci model
Knowledge management through seci modelKnowledge management through seci model
Knowledge management through seci model
 
Penetration testing dont just leave it to chance
Penetration testing dont just leave it to chancePenetration testing dont just leave it to chance
Penetration testing dont just leave it to chance
 
Onion layered Agile test practice Map to Continuous Delivery
Onion layered Agile test practice Map to Continuous DeliveryOnion layered Agile test practice Map to Continuous Delivery
Onion layered Agile test practice Map to Continuous Delivery
 
Anti patterns of testing for continuous delivery adoption
Anti patterns of testing for continuous delivery adoptionAnti patterns of testing for continuous delivery adoption
Anti patterns of testing for continuous delivery adoption
 
Best of Lean Startup and Scrum for product development and enhancement
Best of  Lean Startup and Scrum  for product development and enhancementBest of  Lean Startup and Scrum  for product development and enhancement
Best of Lean Startup and Scrum for product development and enhancement
 
Ethical Hacking Conference 2015- Building Secure Products -a perspective
 Ethical Hacking Conference 2015- Building Secure Products -a perspective Ethical Hacking Conference 2015- Building Secure Products -a perspective
Ethical Hacking Conference 2015- Building Secure Products -a perspective
 
Unknown terrain Use lean startup
Unknown terrain Use lean startup Unknown terrain Use lean startup
Unknown terrain Use lean startup
 

Recently uploaded

FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 

Recently uploaded (20)

Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 

Introducing MLOps.pdf

  • 1. Introducing MLOps Anish Cheriyan Vimal Das K, Inputs from Jayaraj J 9th April, 2022. Event organized jointly by BSPIN and ASQ Bengaluru LMC Image- https://medium.com/analytics-vidhya/applications-and-types-of -machine-learning-c177a844bf38
  • 2. Agenda ★ Industry 4.0 ★ Agile , CI/CD, DevOps ★ DevOps and MLOps ★ Evolution of MLOPS ★ MLOps Capabilities ★ AI Platform Pipelines ★ Training and Tuning AI Platform ★ Case Study
  • 3. BSPIN has been active since 1992 with the support of individuals and organizations in Bangalore. BSPIN’s Mission is to help the Indian Software industry to achieve breakthrough in software quality and productivity by active practice enabled by collaborations, learning, sharing and innovating from the practitioners’ level. BSPIN (Bangalore SPIN) is currently the largest operational SPIN across the globe. More details about BSPIN is available on www.bspin.org For MEMBERSHIP- https://bspin.org/?page_id=1480#!/SignUp/Up membership@bspin.org
  • 4. ● ASQ is a global community of people passionate about quality, who use the tools, their ideas and expertise to make our world work better. ASQ: The Global Voice of Quality. ● ASQ is a global organization with members in more than 130 countries. Headquartered in Milwaukee, Wisconsin, we also operate centers in Mexico, India, and China. Our Society consists of member-led communities that help members connect with other quality professionals and practitioners, advance their knowledge and careers, and grow as thought leaders. For MEMBERSHIP- https://asq.org.in/membership/
  • 5. Self Driving Car AI usage for Cancer Detection https://www.drugtargetreview.com/news/34555/ai-system-detects-canc er-tumours-missed-by-conventional-diagnostics/ Image- https://medium.com/analytics-vidhya/applications-and-types-of -machine-learning-c177a844bf38
  • 6. 2018- Self-driving Uber car that hit and killed woman did not recognize that pedestrians jaywalk https://www.nbcnews.com/tech/tech-news/self-driving-uber-car-hit-killed-woman-did-not-recognize-n1079281
  • 7. Industry 4.0 and ABCs Image Reference- https://hrishikeshiyengar.wordpress.com/2021/01/31/components-of-industry-4-0-the-heart-and-soul/
  • 9. What is MLOps? An approach, like DevOps, developed in the context of ML engineering Unifies ML System Development and Operations Standardized Processes and Technology Capabilities for building,deploying, & operationalizing ML systems rapidly and reliably
  • 10. MLOps & DevOps References- https://en.wikipedia.org/wiki/MLOps
  • 13. Challenges of Practical Applications of ML Avoiding training-serving skews that are due to inconsistencies in data, Handling concerns about model fairness and adversarial attacks. Maintaining the veracity of models by continuously retraining Performing ongoing experimentation of new data sources, Preparing and maintaining high-quality data for training ML models. Tracking models in production to detect performance degradation. 05 01 02 03 04 Challenges
  • 14. Benefits of MLOps Shorter development cycles, and as a result, shorter time to market. Better collaboration between teams. Increased reliability, performance, scalability, and security of ML systems. Streamlined operational and governance processes. Increased return on investment of ML projects.
  • 15. Relationship of Data Engineering, ML Engineering, and Application Engineering. • Data engineering involves ingesting, integrating, curating, and refining data to facilitate a broad spectrum of operational tasks, data analytics tasks, and ML tasks. • ML models are built and deployed in production using curated data that is usually created by the data engineering team.
  • 18. Core MLOps Technical Capabilities of ML Platforms Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
  • 19. Experimentation Lets data scientists and ML researchers collaboratively perform EDA, create prototype model architectures, and implement training routines. Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
  • 20. Data Processing Lets you prepare and transform large amounts of data for ML at scale in ML development, in continuous training pipelines, and in prediction serving. Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
  • 21. Model training lets you efficiently and cost-effectively run powerful algorithms for training ML models Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
  • 22. Model evaluation lets you assess the effectiveness of your model, interactively during experimentation and automatically in production. Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
  • 23. Model serving lets you deploy and serve your models in production environments. Key functionalities in model serving include support for near-real-time, low latency prediction, logging etc… Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
  • 24. Online experimentation lets you understand how newly trained models perform in production settings compared to the current models before you release the new model to production.
  • 25. Model monitoring lets you track the efficiency and effectiveness of the deployed models in production to ensure predictive quality and business continuity. Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
  • 26. ML pipelines lets you instrument, orchestrate, and automate complex ML training and prediction pipelines in production. Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
  • 27. Model registry lets you govern the lifecycle of the ML models in a central repository. This ensures the quality of the production models and enables model discovery. Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
  • 28. Dataset & feature repository lets you unify the definition and the storage of the ML data assets. Helps data scientists and ML researchers save time on data preparation and feature engineering Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
  • 29. ML metadata & artifact repository Enables reproducibility and debugging of complex ML tasks and pipelines. Metadata about ML artifacts such as descriptive statistics, data schemas, trained models, and evaluation results are tracked in it. Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
  • 31. Problem Statement Automatically classify customer support ticket and route to the right support agent Automated customer support routing Data Selection & Exploration - Ticket Info - Trip info - Customer info Feature engineering - Ticket message - Time after trip - … Model prototyping & validation - learning-to-rank approach - retrieval-based pointwise ranking Training pipeline - Batch jobs - Yarn/Mesos cluster Data pipeline - Data transformation - Kafka (pub/sub) - Samza (stream processing) - Cassandra (for training) Model Refresh - Model tuning - Model evaluation - Model validation Service integration - Offline mode - Online mode - Library mode CI/CD pipeline - Dynamic model loading - Artifacts Validation - Serving validations Online experimentation - A/B testing Monitoring integration - Kafka - Kibana (dashboards) Model monitoring - RMSLE - RMSE - R-suqared Data & feature repository - HDFS (data) - Cassandra (feature metadata) Public Launch - Gradual rollout - Online /Batch/Embedded inference Model repository - HDFS (zip archive) - Cassandra (model metadata) ML Development Training operationalization Continuous training Prediction serving Model deployment Model monitoring
  • 32. MLOps End-to-End Workflow Image: https://services.google.com/fh/files/misc/practitioners_guide_to_mlops_whitepaper.pdf
  • 33. Take Away Delivering business value through ML is not only about building the best ML model for the use case at hand, but also about building an integrated ML system that operates continuously to adapt to changes in the dynamics of the business environment. Such an ML system involves ❑ Collecting, processing, and managing ML datasets and features; ❑ Training, and evaluating models at scale; ❑ Serving the model for predictions; ❑ Monitoring the model performance in production; and ❑ Tracking model metadata and artifacts. … and MLOps enables building such an ML System.
  • 34. BOOK COMING SOON Anish Cheriyan, Rajith Raveendran, Vimal Das Kammath With Sheena Lakshmi https://softwareforindustrynext.blogspot.com/
  • 35. References • Practitioners guide to MLOps:A framework for continuous delivery and automation of machine learning.Khalid Salama, Jarek Kazmierczak, Donna Schut, Google Cloud White Paper, 2021 • • Engineering MLOps: Rapidly build, test, and manage production-ready machine learning life cycles at scale- Emmanuel Raj