Micrograd: a pedagogical implementation of neural ...
# share-your-work
k
Micrograd: a pedagogical implementation of neural networks using a reverse-mode automatic differentiation engine. https://hyperdoc.khinsen.net/94FE4-micrograd I have written this as a real-life example of explorable explanations in HyperDoc, my framework for explainable software systems which I demoed at a meetup earlier this year. The main new features in the platform that are showcased are interactive tools and much-improved playgrounds for free exploration. Feedback welcome at https://codeberg.org/khinsen/micrograd (the source code repository), or right here of course.
🍰 2
👀 1
t
Oh thats so fun to explore. I am on a mac, how do I
alt-click
. After reading the essential
HyperDoc navigation
I realised I was missing the source code exploration angle, I want to try it!
I really like the navigation of using the horizontal dimension and scrolling so you can have lots of things open
k
@Tom Larkworthy On my rather old (2008) mac keyboard, there's a key labelled "alt", in between "ctrl" and "cmd". That's the one you need.
g
On my keyboards, the key is named "Option" and in smaller font "Alt"
t
ahhh yeah, got it, I was trying to use it on a
>
example button but it isn't meant for that (edit: it does work on that too! no idea what I was doing wrong as option is the first thing I think of as ALT too). wow you can inspect the page controls source code. Really cool.
k
I tried to make as much as possible inspectable. Inspired by Glamorous Toolkit. where I learned to appreciate this feature.
Here's a blog post placing my HyperDoc project in the context of Bret Victor's "explorable explanations", with Micrograd supplying the illustrations: https://blog.khinsen.net/posts/2025/11/12/explorable-explorable-explanations.html
❤️ 7