A Visual Introduction to Machine Learning (2015)
374 points by vismit2000 2 days ago | 31 comments

tonyhschu 2 days ago
One of the creators of R2D3 here. Funny to wake up to this today! Happy to answer questions here or on bsky
reply
Genbox 23 hours ago
If I would like to build a visualization like this, but for a data ingestion pipeline, any tips on where to start?

I have it visually in my head, but it feels overwhelming getting it into a website.

reply
avabuildsdata 21 hours ago
fwiw I work on data ingestion pipelines and I've found that starting with just boxes-and-arrows in something like Excalidraw gets you 80% of the way to knowing what you actually want. The gap between "I can picture it" and "I can build it on a webpage" is mostly a d3 learning curve problem, not a design problem.

xyflow that the creator mentioned is probably the right call for pipeline DAGs though -- we use it internally for visualizing our scraping workflows and it was surprisingly painless to get running

reply
tonyhschu 22 hours ago
Sort of like this? https://docs.tecton.ai/docs/introduction/interactive-tour I used https://github.com/xyflow/xyflow for this, with css animations for the edges. It’s probably easier now with coding agents and what not
reply
reader9274 23 hours ago
Any plans for more articles, 10 years later?
reply
stared 2 days ago
It is a masterpiece! Each time I give an introduction to machine learning, I use this explorable explanation.

There is a collection of a few more here: https://p.migdal.pl/interactive-machine-learning-list/

reply
kengoa 22 hours ago
Nice list! I remember HN talking about https://students.brown.edu/seeing-theory/ when it came out but sadly it seems like this website was discomissioned.

Added an entry for my data visualisation tool here: https://github.com/stared/interactive-machine-learning-list/....

Edit: found an updated link for seeing theory so I fixed it in the PR above. Feel free to cherry-pick if #24 is not relevant.

reply
vivzkestrel 23 hours ago
- A previous comment by me about my list of absolutely gorgeous, interactive, animated, high dynamic learning resources classified as S TIER

- S-TIER blogs are those that are animated, visual, interactive and absolutely blow your mind off

- A-TIER are highly informative and you ll learn something

- opinion blogs at the absolute bottom of the tier list because everyone everywhere ll always have an opinion about everything and my life is too short to be reading all that

- these are the S-TIER ones on my system

- https://growingswe.com/blog

- https://ciechanow.ski/archives/

- https://mlu-explain.github.io/

- https://seeing-theory.brown.edu/index.html#firstPage

- https://svg-tutorial.com/

- https://www.lumafield.com/scan-of-the-month/health-wearables

- these are the BEST of the BEST, you ll be blown away opening each page is how good they are. i am thinking of creating a bookmark manager that uses my criteria above and runs across every damn blog link ever posted on HN to categorize them as S-TIER, A-TIER, opinion and so on

reply
1wheel 23 hours ago
https://visxai.io/ has a bunch more too — see the Hall of Fame section at the bottom for some of the highlights.

I also made a dozen of these a couple years ago, my two favorites:

- https://pair.withgoogle.com/explorables/fill-in-the-blank/

- https://pair.withgoogle.com/explorables/grokking/

reply
ayhanfuat 2 days ago
This is from 2015. Both technically and conceptually it was ahead of its time.
reply
mdp2021 2 days ago
It's a pity there seems not to be new (or other) material from Tony Hschu and Stephanie Jyee.

(Or can anybody find something more?)

reply
smaili__ 2 days ago
So amazing, wish there were more articles like this. I love visual learning. Also reminds me of another blog post: https://pomb.us/build-your-own-react/ , probably not directly the same, but similar-ish written blog posts, easy to stay on track and follow. It is so easy to learn with this kind of blog post.
reply
AlexDunit 20 hours ago
Still one of the best explanations of decision trees I've seen. The scroll-driven animation that builds the tree split by split, while simultaneously showing where each data point lands, does in 30 seconds what most textbook diagrams fail to do in three pages
reply
jazzpush2 20 hours ago
Amazing. A very cool niche area, dataviz x ai/ml. See also:

- mlu-explain.github.io

- visxai.io

- google PAIR's explorables

- GA Tech's poloclub.

reply
anesxvito 18 hours ago
Bookmarked.This is exactly the kind of visual reference that's missing from most LLM explainers.You either get a 10,000 word paper or a tweet-length oversimplification. Nothing in between.
reply
3abiton 18 hours ago
3blue1brown has amazing content. Actually he had his own visual language.
reply
anesxvito 18 hours ago
Haven't come across his stuff yet, will check it out. Got any specific videos you'd recommend starting with?
reply
3abiton 10 hours ago
His latest transformers videos are extremely well done. I would start there.
reply
pajamasam 8 hours ago
Oh, I'm sure you have, mr bot
reply
davispeck 22 hours ago
The interactive explanations here are still some of the best examples of how visualization can make ML concepts intuitive.

I wish more technical articles took this approach instead of starting with equations.

reply
shardullavekar 2 days ago
has anyone come across an r2d3-style explainer for something as high-dimensional as a Transformer's attention mechanism?
reply
cake-rusk 2 days ago
Where's the rest of it?
reply
mvrckhckr 24 hours ago
This is still great after more than a decade.
reply
quickrefio 2 days ago
R2D3 did an amazing job here. It’s rare to see statistical learning concepts explained visually this clearly.
reply
xpe 24 hours ago
The balls-from-the-sky sieve-style animation* showing classifications literally falling out of the decision tree is my favorite part. I haven't seen this anywhere else (yet); this visualization technique deserves more percolation (pun intended). (#1)

Not even to mention the fact that the animation is controlled by scrolling, which gives an intuitive control over play, pause, rewind, fast-forward, etc. Elegant and brilliant. (#2)

Stunningly good also in the sense that it advances the story so people don't just drool at the pretty animation and stop engaging. Thus putting the "dark arts" in the service of learning. (#3)

All three ideas warrant emulation in other contexts!

* Find it towards the bottom under the "Making predictions" heading.

reply
nullora 24 hours ago
nice
reply
sp4cec0wb0y 24 hours ago
Did they not have mobile responsive sites in 2015? Lol
reply
1wheel 21 hours ago
2015 was about the last year you could get away with publishing an interactive graphic with a fixed width — this made it harder do really creative/original work.
reply
stainlu 13 hours ago
[flagged]
reply
planerde 2 days ago
[dead]
reply
useftmly 15 hours ago
[dead]
reply
longtermemory 2 days ago
[dead]
reply
Jhater 2 days ago
Josh Starmers books are very visual as well, probably the best source I'd recommend to learn ML

https://www.youtube.com/c/joshstarmer https://statquest.org/

reply
mileszhang 2 days ago
[dead]
reply