0.1 How this course works
1. Learn
Section titled “1. Learn”- Glassbox course introthe home page and "How a module works" on this page
2. Bridge
Section titled “2. Bridge”Glassbox does not try to out-explain the best teachers. Prince’s Understanding Deep Learning (UDL), Mathematics for Machine Learning (MML), Karpathy’s videos and the Stanford and MIT courses already do that well. What none of them gives you is one ordered path (the course map) with feedback at every step. That is this site’s job.
Every module has the same five steps, and the numbered headings on each page follow them:
- Learn. Read or watch exactly the listed sections (the Learn list above is an example). Nothing more is assumed.
- Bridge. A short note (400 words at most) connects the source to this course: what to focus on, notation differences, and one key derivation you step through line by line. Each line has a why? button that names the rule used.
- Explore. An interactive widget, placed right before the task it prepares you for. Drag, slide and step until the math stops being symbols.
- Do. Implement the idea from scratch. Automated tests tell you, per test, what is right. Run them in the page or locally with
mlc check. Hints come in three levels (a nudge, the approach, then partial code). Use them in that order. - Check. A short quiz. Pass with 80% and mark the module complete. If you miss it, that is the retry loop: go back to the sources for what you missed.
Why tests? You can’t vet an explanation you are still learning, so everything here is built to be checkable. Tests pass or fail. Every derivation is confirmed numerically. Widget math is unit-tested against NumPy. Every bridge note cites its sources. The quality page shows each module’s checks.
Your progress lives in this browser: no account needed. Back it up from the progress page, which also imports results from the command line.
When something is wrong or confusing, use Report an issue at the bottom of every page (how issues are handled). As the first learner, log your time and confusions in the learner log at the end of each module: each one becomes a fix.
3. Explore
Section titled “3. Explore”Set up the exercises locally. You need Python 3.11 or later and git.
git clone https://github.com/abhiraj2/glassbox.gitcd glassbox/exercisespython3 -m venv .venv && source .venv/bin/activate # Windows: .venv\Scripts\activatepip install -e .mlc check 0.1 # fails: you haven't written anything yetOpen exercises/stubs/m0_1_welcome.py, implement the two functions, and run mlc check 0.1 again until every test passes. Or do it right here: the runner below uses the same stub and the same tests, running Python in your browser.
stubs/m0_1_welcome.pyLoading starter file…
Prefer your own editor? Edit exercises/stubs/m0_1_welcome.py and run mlc check 0.1. The tests are identical; import the results on the progress page.
Then run mlc list to see every module with automated tasks.
5. Check
Section titled “5. Check”- not yet: All tests pass (0/?)
- not yet: Checkpoint quiz ≥ 80%
Learner log: time spent and points of confusion
Every confusion you note becomes a fix before the module is marked stable. Export it from the progress page and attach it to an issue.