Summary
Keywords
Full Transcript
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. This is part 2 of a 3-part miniseries in which I refactor a hand-written digit recognition data science project based on the MNIST dataset to improve the software design so it's easier to reuse and adapt. In this second part I cover reorganizing the data and data processing in a separate runner class, building on the Information Expert principle. Part 1: https://youtu.be/ka70COItN40 Part 2: https://youtu.be/Tx4AxbQNv3U Every Data Scientist Should Know This Design Principle (guest blog article @ AIgents): https://aigents.co/blog/publication/every-data-scientist-should-know-this-design-principle. 🎓 ArjanCodes Courses: https://www.arjancodes.com/courses/ 🔖 Chapters: 0:00 Intro 1:13 Recap of the code 2:00 Refactoring the Metric class 6:15 The Information Expert principle 6:58 Creating a Runner class 17:16 Separating code into multiple methods 21:31 Handling setting the experiment stage outside of the runner 22:30 Updating the main file 25:17 Improving/cleanup of logging 28:36 Final thoughts #arjancodes #softwaredesign #python
