[P] Open-source ML homeworks with auto-tests - fundamental algorithms from first principles
Summary
A set of open-source machine learning and deep learning homework assignments, designed for a course at Skoltech, is now publicly available on GitHub. These assignments focus on building fundamental algorithms from first principles, guiding students through step-by-step problems rather than presenting a blank page. A key feature is the integration of automated test-based grading, which provides immediate feedback to students and reduces the grading load on teaching staff. The repository includes notebooks with tasks, helper scripts, auto-tests, grading scripts to prevent accidental misuse of files, and pre-generated data for tests. The content is released under a permissive license, encouraging reuse and adaptation.
Key takeaway
For educators designing machine learning courses, consider adopting an auto-tested, first-principles approach to homework. This method can significantly improve student comprehension of core algorithms and streamline your grading process, allowing students to learn from their mistakes efficiently and independently.
Key insights
Building fundamental ML algorithms from scratch with automated testing enhances deep understanding and provides immediate feedback.
Principles
- Deep understanding requires building from scratch
- Automated testing provides immediate feedback
- Step-by-step guidance prevents learning stalls
Method
Design ML homeworks with starter templates and test suites, guiding students through problems and using automated tests for immediate feedback and grading.
In practice
- Use auto-tests for immediate student feedback
- Provide grading scripts for transparency
- Publish under a permissive license
Topics
- Machine Learning Education
- Fundamental Algorithms
- Automated Grading
- Open-source ML
- Educational Resources
Code references
Best for: AI Student, Machine Learning Engineer, AI Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Machine Learning.