Open Closed Principle for Machine Learning Engineers: Theory and Practice
When a class in your Machine Learning code knows too much about its dependencies, you have a problem. You are not adhering to the OpenClosed Principle (O in the SOLID principles). Your code will be tightly coupled and difficult to test in isolation. Learn about the OpenClosed Principle, how to spot its violations, and how you can refactor ML code to respect it. By adhering to OCP, your ML code will be cleaner and more maintainable in the longer run. Slides: Code: Interested in hiring me as a consultant, freelancer Join The Sound Of AI Slack community: Connect with Valerio on Linkedin: Follow Valerio on
|
|