\

A Visual Introduction to Machine Learning (2015)

268 points - today at 10:47 AM

Source
  • tonyhschu

    today at 3:33 PM

    One of the creators of R2D3 here. Funny to wake up to this today! Happy to answer questions here or on bsky

      • Genbox

        today at 5:12 PM

        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.

          • avabuildsdata

            today at 7:06 PM

            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

            • tonyhschu

              today at 6:19 PM

              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

          • reader9274

            today at 5:10 PM

            Any plans for more articles, 10 years later?

        • stared

          today at 2:07 PM

          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/

        • vivzkestrel

          today at 5:12 PM

          - 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

        • ayhanfuat

          today at 10:58 AM

          This is from 2015. Both technically and conceptually it was ahead of its time.

            • mdp2021

              today at 11:54 AM

              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?)

          • smaili__

            today at 2:49 PM

            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.

            • davispeck

              today at 6:16 PM

              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.

              • shardullavekar

                today at 1:31 PM

                has anyone come across an r2d3-style explainer for something as high-dimensional as a Transformer's attention mechanism?

              • mvrckhckr

                today at 4:16 PM

                This is still great after more than a decade.

                • quickrefio

                  today at 3:15 PM

                  R2D3 did an amazing job here. It’s rare to see statistical learning concepts explained visually this clearly.

                  • cake-rusk

                    today at 11:46 AM

                    Where's the rest of it?

                  • xpe

                    today at 4:53 PM

                    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.

                    • nullora

                      today at 4:47 PM

                      nice

                      • sp4cec0wb0y

                        today at 4:45 PM

                        Did they not have mobile responsive sites in 2015? Lol

                          • 1wheel

                            today at 7:14 PM

                            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.

                        • longtermemory

                          today at 11:32 AM

                          [dead]

                          • planerde

                            today at 12:43 PM

                            [dead]

                            • Jhater

                              today at 11:06 AM

                              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/

                              • today at 1:20 PM

                                • mileszhang

                                  today at 3:29 PM

                                  [dead]