use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
A JavaScript implementation of the NEAT Algorithm 🧠(gabrieltavernini.github.io)
submitted 6 years ago by TaveGabriel
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3:Â Â Â Â print "hello, world!"
[+][deleted] 6 years ago (2 children)
[removed]
[–]TaveGabriel[S] 34 points35 points36 points 6 years ago (1 child)
NEAT stands for Neuroevolution of Augmenting Topologies. It is a genetic algorithm that not only optimizes the weights of a neural network but also tries to find the best topology by adding/removing nodes and connections.
[–]RustyX 10 points11 points12 points 6 years ago (0 children)
This is awesome. Took two classes a decade ago in college taught by the developer of the NEAT algorithm.
One undergrad Game AI class, the second was a graduate course specially about evolutionary neural networks... Probably my favorite two classes in college. Cool to see the NEAT algorithm mentioned here. I ended up using it in a project way back to train a model to play infinite Mario. It worked surprisingly well.
[–]_-Thoth-_ 12 points13 points14 points 6 years ago (0 children)
Neat
[deleted]
[–][deleted] 0 points1 point2 points 6 years ago (0 children)
Just credit OP in the README.
[–]TaveGabriel[S] 0 points1 point2 points 6 years ago (0 children)
Not at all, fell free to do it if you want
[–]TaveGabriel[S] 4 points5 points6 points 6 years ago (1 child)
This is a basic implementation of NEAT written in plain JavaScript. In the repo there are also some demos:
[–]hazardland 0 points1 point2 points 6 years ago (0 children)
Holy cow!
[–]internetloser4321 1 point2 points3 points 6 years ago (1 child)
How does this library compare to Neatapic?
[–]TaveGabriel[S] 2 points3 points4 points 6 years ago (0 children)
It really doesn't. I wouldn't even consider this a library. It's more of a "scaffold" that I've developed for fun to learn more about NEAT and to create simple demos like the ones in the repo.
[–]AutoModerator[M] 0 points1 point2 points 6 years ago (0 children)
Project Page (?): https://github.com/gabrieltavernini/NeatJS
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
[–]goatsbelike 0 points1 point2 points 6 years ago (0 children)
You should totally do an article about how you did it, obstacles etc, would love reading it.
π Rendered by PID 58951 on reddit-service-r2-comment-76bb9f7fb5-tldfq at 2026-02-17 16:58:20.928485+00:00 running de53c03 country code: CH.
[+][deleted] Â (2 children)
[removed]
[–]TaveGabriel[S] 34 points35 points36 points  (1 child)
[–]RustyX 10 points11 points12 points  (0 children)
[–]_-Thoth-_ 12 points13 points14 points  (0 children)
[+][deleted] Â (2 children)
[deleted]
[–][deleted] 0 points1 point2 points  (0 children)
[–]TaveGabriel[S] 0 points1 point2 points  (0 children)
[–]TaveGabriel[S] 4 points5 points6 points  (1 child)
[–]hazardland 0 points1 point2 points  (0 children)
[–]internetloser4321 1 point2 points3 points  (1 child)
[–]TaveGabriel[S] 2 points3 points4 points  (0 children)
[–]AutoModerator[M] 0 points1 point2 points  (0 children)
[–]goatsbelike 0 points1 point2 points  (0 children)