Teaching Machine Learning Fundamentals with LEGO Robotics
Open-source platform and course teaching machine learning to students with LEGO robots
Authors: Viacheslav Sydora, Güner Dilsad Er, Michael Mühlebach
About the Platform
This project presents the open-source platform Machine Learning with Bricks and an accompanying two-day course designed to teach machine learning concepts to students aged 12 to 17 through programming-free robotics activities.
Machine Learning with Bricks is an open source platform that combines interactive visualizations with LEGO robotics to teach three core algorithms: KNN, linear regression, and Q-learning. Students learn by collecting data, training models, and interacting with robots via a web-based interface.
Key Results: Pre- and post-surveys with 14 students demonstrate significant improvements in conceptual understanding of machine learning algorithms, positive shifts in AI perception, high platform usability, and increased motivation for continued learning. This work demonstrates that tangible, visualization-based approaches can make machine learning concepts accessible and engaging for young learners while maintaining technical depth.
Video Tutorials
Code & Platform
Open-source web-based platform featuring:
- Interactive visualizations for KNN, linear regression, and Q-learning
- LEGO robotics integration via Bluetooth
- Real-time data collection and model training interface
- Course materials and video tutorials
- Fully documented and ready for educational deployment
📋 Read the Documentation for installation, usage guides, and educational materials.