Why this educart?
The perceptron is a tiny computing unit that is a fondamental block of artificial neural networks.
Because machine learning is getting more important everyday, I thought I would share the little knowledge I have in the form of a chewable educart, hoping more people would get interested in the inner workings of machine learning algorithms.
Tell me if you found this useful and if I should make more. Also, I'm not a ML specialist and English is not my primary language so any suggestions to make this cart better will be appreciated!
Additional cart : interact with the perceptron in real-time
Sources and links
Thanks! I'm glad you're interested and I already have plans for a continuation :
- talk about the bias (the third input of the perceptron) that was eluded in this cart
- use multiple perceptrons together to approximate the XOR function
- visualize how backpropagation works
For other topics involving neural networks, I'm not sure how far can Pico-8 go. I've seen MNIST running but for more complex things I may just fake it and show pre-rendered images. For example I would love to dig into stable diffusion and create visualisations for it. But it wouldn't have any practical use in Pico-8.
Really interesting, and well put together. The limitations of PICO-8 actually force you to keep the descriptions short, making them more understandable, and you've hit the nail on the head with this!
It often takes longer to write something shorter than a bloated piece of text, but the reader appreciates it. As Blaise Pascal wrote - "Excuse the long letter, I didn't have time to write a short one"?
Look forward to seeing more of these :-)
Thanks very much.
@PaulKnight, thanks for these kind words. It was fun and challenging to split the description in small chunks and tune the pacing. I'm glad you liked it.
@packbat, I also thought it was funny to see the algorithm run by itself, getting better over time until a single misclassified point makes the prediction go wrong.
I added a standalone screen that let you control adjust the learning rate and see the effect it has. Also, now you can rewind to the previous text or screen.
[Please log in to post a comment]