Object-Oriented Design for Implementation

https://d2l.ai/chapter_linear-regression/oo-design.html