Chapter 9: Testing and Securing Your ML Solution
In this chapter, we will delve into Machine Learning (ML) solution testing and security aspects. You can expect to get a primer on various types of tests to test the robustness and scalability of your ML solution, as well as the knowledge required to secure your ML solution. We will look into multiple attacks on ML solutions and ways to defend your ML solution.
In this chapter, we will be learning with examples as we perform load testing and security testing for the business use case of weather prediction we have been previously working on. We will start by reflecting on the need for testing and securing your ML solution and go on to explore the other following topics in the chapter:
- Understanding the need for testing and securing your ML application
- Testing your ML solution by design
- Securing your ML solution by design