How to Use ModelDB and Spark to Track and Improve Model Performance Over Time
Publisher: O'Reilly Media
Release Date: December 2017
Duration: 0 hours 35 minutesStart your free trial now
It’s critical to have “humans in the loop” when automating the deployment of machine learning (ML) models. Why? Because models often perform worse over time. This course covers the human directed safeguards that prevent poorly performing models from deploying into production and the techniques for evaluating models over time. We’ll use ModelDB to capture the appropriate metrics that help you identify poorly performing models. We'll review the many factors that affect model performance (i.e., changing users and user preferences, stale data, etc.) and the variables that lose predictive power. We'll explain how to utilize classification and prediction scoring methods such as precision recall, ROC, and jaccard similarity. We'll also show you how ModelDB allows you to track provenance and metrics for model performance and health; how to integrate ModelDB with SparkML; and how to use the ModelDB APIs to store information when training models in Spark ML. Learners should have basic familiarity with the following: Scala or Python; Hadoop, Spark, or Pandas; SBT or Maven; cloud platforms like Amazon Web Services; Bash, Docker, and REST.
- Learn how to use ModelDB and Spark to track and improve model performance over time
- Understand how to identify poorly performing models and prevent them from deploying into production
- Explore classification and prediction scoring methods for training and evaluating ML models
Manasi Vartak is a PhD student in the Database Group at MIT, where she works on systems for analysis of large scale data.
Jason Slepicka is a senior data engineer with DataScience, where he builds pipelines and data science platform infrastructure. Jason is working on his PhD in Computer Science at the University of Southern California Information Sciences Institute.
Table of Contents
Chapter: Monitoring and Improving the Performance of Machine Learning Models
Why Model Maintenance?
Principles and Causes of Model Decay
Key Requirements for Model Maintenance
Deploying a Model Maintenance System with Spark ML
Reviewing and Monitoring Model Performance