Slide 1

Slide 1 text

MLOps คืออะไร ? ทําไมคนถึงวาดี Kamolphan Liwprasert (Fon)

Slide 2

Slide 2 text

about:me FON Kamolphan Liwprasert Senior Machine Learning Engineer @Sertis Master in Computer Science student @GeorgiaTech Road to Data Engineer instructor @DataTH

Slide 3

Slide 3 text

MLOps คืออะไร ?

Slide 4

Slide 4 text

ML Machine Learning Operations Ops https://neptune.ai/blog/end-to-end-mlops-platforms

Slide 5

Slide 5 text

https://youtu.be/VfcY0edoSLU นิยาม AI System แบบงาย ๆ AI System = * Software Engineering DevOps Data Engineering Data Science ML/AI Research ML Engineering Code + Model + DATA

Slide 6

Slide 6 text

MLOps แตกตางจาก DevOps อยางไร? DevOps MLOps

Slide 7

Slide 7 text

3 Levels of ML Software 1. Data ▸ Data Engineering Pipelines ▸ Data Quality is a key 🔑 2. Model ▸ Machine Learning Pipelines ▸ Train, Evaluate, Test 󰙤 3. Code ▸ Model Serving & Predictions ▸ Deployment strategies & Infra 🐳☁

Slide 8

Slide 8 text

MLOps Continuous Training Continuous Monitoring CI/CD Concept drift Logging Canary Deployment A/B Testing Data-Centric AI vs Model-Centric AI Monitoring Healthcheck Testing Data Version Control Experiment Tracking Data Lineage Lifecycle Automation Data Quality Data Labeling Data Augmentation Train & Evaluate Model Versioning Model Serving & Deployment Optimization Error Reporting

Slide 9

Slide 9 text

ทําไม ตองมี MLOps ? ? ? ?

Slide 10

Slide 10 text

ทําไมคนเพิ่งมาพูดถึง MLOps

Slide 11

Slide 11 text

https://cloud.google.com/solutions/machine-learning/mlops-continuous-delivery-and-automation-pipelines-in-machine-learning Hidden Technical Debt in Machine Learning Systems Elements for ML systems

Slide 12

Slide 12 text

Rule of Machine Learning Martin Zinkevich https://developers.google.com/machine-learning/guides/rules-of-ml

Slide 13

Slide 13 text

To make great products: do machine learning like the great engineer you are, not like the great machine learning expert you aren’t. Martin Zinkevich https://developers.google.com/machine-learning/guides/rules-of-ml

Slide 14

Slide 14 text

1 2 3 4 Benefit of MLOps Automate process ชวยลด Technical Debt ในระยะยาว ได Pipeline ที่ดี ทําให data scientist ทํางานรวมกันไดงาย ชวยลดความเสี่ยง และขอผิด พลาด human error ปรับปรุง และ Maintain ได งาย สามารถ scale ได

Slide 15

Slide 15 text

เริ่มตนกับ MLOps ยังไงดี?

Slide 16

Slide 16 text

Tools DVC (Data Version Control)

Slide 17

Slide 17 text

Cloud Platforms Azure Machine Learning Amazon SageMaker Google Cloud AI Platform

Slide 18

Slide 18 text

Concerns ● แตละ tool มี usecase ที่เหมาะสมของเครื่องมือแตละอยาง ⚒ ● Pricing $$$$ บาง tool มีคาใชจายคอนขางสูง 💸 ● Over-engineering : Perfect is the enemy of good

Slide 19

Slide 19 text

เริ่มตนกับ MLOps - Beginner edition Empathize เรียนรูจาก pain Git VersionControl Docker Kubernetes CI/CD Programming!

Slide 20

Slide 20 text

RECAP

Slide 21

Slide 21 text

https://ml-ops.org/content/mlops-principles

Slide 22

Slide 22 text

References & Resources ● MLOps https://ml-ops.org ● Introducing MLOps, Mark Treveil and team (O’Reilly Media). ● Rules of Machine Learning, Martin Zinkevich https://developers.google.com/machine-learning/guides/rules-of-ml ● Hidden Technical Debt in Machine Learning Systems https://papers.nips.cc/paper/5656-hidden-technical-debt-in-machine-learning-systems.pdf ● What Is MLOps?, Nvidia https://blogs.nvidia.com/blog/2020/09/03/what-is-mlops/ ● A Chat with Andrew on MLOps: From Model-centric to Data-centric AI, Andrew Ng https://youtu.be/06-AZXmwHjo ● Let’s talk about MLOps, Christian Barra https://youtu.be/K5x6dxjY1vA ● MLOps: Continuous delivery and automation pipelines in machine learning, Google Cloud https://cloud.google.com/solutions/machine-learning/mlops-continuous-delivery-and-automation -pipelines-in-machine-learning ● Awesome-mlops, visenger (on GitHub) https://github.com/visenger/awesome-mlops ● CML, powered by DVC https://cml.dev https://dvc.org

Slide 23

Slide 23 text

Q & A 💬

Slide 24

Slide 24 text

Thank you 😃 Feedback is a gift 🎁 bit.ly/feedback-form-fon Sertis is hiring 󰠁 bit.ly/sertis-apply-now Road to Data Engineer course 🎓 bit.ly/road2de-datatalk *ลด 5% ถึงเที่ยงคืนวันที่ 28 มี.ค.นี้