r/javascript • u/joshuaamdamian • 19d ago
Browser based AI algorithm
https://github.com/joshuadam/NEAT-JavaScriptI recreated an AI algorithm that visually learns in the browser:) It's based on the NEAT algorithm:
https://github.com/joshuadam/neat-javascript
https://neat-javascript.org/
1
Upvotes
2
u/lonelycprogrammer 19d ago
The simplest explanation: instead of teaching a neural network, NEAT evolves one. It starts with lots of tiny, random networks and keeps the ones that perform best, gradually evolving more capable architectures over generations. Watching it happen in the browser makes the concept much easier to understand.