This is a fairly remarkable project which offers a library of Neural Networks written in JavaScript.
BrainJS
...
For further actions, you may consider blocking this person and/or reporting abuse
I love the GitHunt tag and the projects you've been posting, Ben. This has been on my list of libraries I need to play with for a long time. I like Martin's spam filter project idea; anyone else have any other projects or ideas for what to do with this that I can draw inspiration from?
I love this one. Used it a while back in a side project to filter spammy chat messages and it worked like a charm.
It's also one of the few JS ML libraries that are actively maintained.
A big "competitor" to brain.js is TensorFlow.js, which is backed by Google and Tensorflow in general is very widely used. It was exciting to see Tensorflow coming to JavaScript this year.
Great to hear you had success on spam filtering. That's a notoriously difficult problem without tech like this, but even with neural networks, I don't hear a lot of practical "this worked and how" examples.
If you wanted to write a DEV post on that experience, I think it would go over really well.
I built a sentence matching system using this library. It matched the words and characters in an input sentence against a database to make a best guess match. The standardised sentence version in the database was linked to properties we used for processing a response.
The response was a set of calculations rather than a chat app.
The library was useful in 3 ways:
does the speed of computation comparable with c tensorflow library?
Wow, looks great, thanks for sharing! I'll see if I can try it out soon!
Love this. Congrats!
If you're running in NodeJS anyway, I'd expect you're better of with some kind of wrapper around native TensorFlow bindings than running a neural network in pure JS.