If you want to deploy Machine Learning models into production, you have to be very careful in order to not break the running system. This talk shows one simple approach to make sure that the new models don't break your production system.
7. 7Digital Product School by UnternehmerTUM
About Michi
Michael Stockerl
Head of Software Engineering - UnternehmerTUM
stockerl@unternehmertum.de
Before:
• Data Engineer @ gutefrage.net
• Data Engineer @ Gini
• M.Sc. Computer Science @LMU
16. 16Digital Product School by UnternehmerTUM
Data Scientist
Push Model
Continuous Delivery Pipeline
17. 17Digital Product School by UnternehmerTUM
Data Scientist
Push Model
Continuous Delivery Pipeline
Trigger CD
Unit Test &
Build
18. 18Digital Product School by UnternehmerTUM
Data Scientist
Push Model
Continuous Delivery Pipeline
Trigger CD
Unit Test &
Build
Pull Test Set
Test Set
Validation
19. 19Digital Product School by UnternehmerTUM
Data Scientist
Push Model
Continuous Delivery Pipeline
Trigger CD
Unit Test &
Build
Pull Test Set
Test Set
Validation
Deploy
Canary Service
20. 20Digital Product School by UnternehmerTUM
Data Scientist
Push Model
Continuous Delivery Pipeline
Trigger CD
Unit Test &
Build
Pull Test Set
Test Set
Validation
Deploy
Canary Service
MonitoringPerformance Metrics
* p99 Response Time
* Error Rate
21. 21Digital Product School by UnternehmerTUM
Data Scientist
Push Model
Continuous Delivery Pipeline
Trigger CD
Unit Test &
Build
Pull Test Set
Test Set
Validation
Deploy
Canary Service
MonitoringPerformance Metrics
* p99 Response Time
* Error Rate
Request
Shadowing
23. 23Digital Product School by UnternehmerTUM
Request Shadowing Close Up
classification
incoming_pics
canary_classification
24. 24Digital Product School by UnternehmerTUM
Request Shadowing Close Up
classification
incoming_pics
canary_classification
Classification Result
25. 25Digital Product School by UnternehmerTUM
Request Shadowing Close Up
classification
incoming_pics
canary_classification
joined_classification
Find differences
26. 26Digital Product School by UnternehmerTUM
Spot Checking
Select wrong classifications!
Yes
Boat
No Yes No
Yes No Yes No