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 Open-Closed Principle (‘O’ in the SOLID principles). Your code will be tightly coupled and difficult to test in isolation. Learn about the Open-Closed 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: Open Closed Principle/Open Closed Code: Open Closed Principle/ =============================== Interested in hiring me as a consultant/freelancer? Join The Sound Of AI Slack community: Connect with Valerio on Linkedin:
Back to Top