9

Testing and Debugging for Production

You might have gotten excited about training and testing a machine learning model without thinking about the unexpected behavior of your model in production and how your model fits into a bigger technology. Most academic courses don’t go through details of strategies to test models, assess their qualities, and monitor their performance pre-deployment and in production. There are important concepts and techniques in testing and debugging models for production that we will review in this chapter.

In this chapter, we will cover the following topics:

  • Infrastructure testing
  • Integration testing of machine learning pipelines
  • Monitoring and validating live performance
  • Model assertion

By the end of this chapter, ...

Get Debugging Machine Learning Models with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.