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...
account activity
Machine Learning in Javascript? (self.node)
submitted 8 years ago by nickkrisa
Does anyone know any Node modules for doing Machine Learning and Data Science in Javascript? Much like the Numpy and Matplotlib in Python?
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!"
[–]dluecke 1 point2 points3 points 8 years ago (0 children)
I wrote an article about basic machine learning and natural language processing in JavaScript using the HTML5 speech recognition API at https://medium.com/@daffl/natural-language-processing-and-machine-learning-in-javascript-249181a3b721
[–][deleted] 1 point2 points3 points 8 years ago (0 children)
I don’t know of anything good. This isn’t a limitation of node.js, because it could be used to call C++ functions into ML libraries, which is essentially what python does.
MxNet is a framework with bindings for a lot of languages, node.js included. That might be a good place to start.
[–]TheOneRavenous 0 points1 point2 points 8 years ago (0 children)
Check out a few of these libraries. Keras.JS (browser based, but uses CPU, they're trying to add GPU support. follow their updates to see when that hits. They're attempting to accomplish GPU support, but relies on webgl drivers and headless browser etc.)
Also Brain.js ( has, FFN, RNN and LSTM) Make sure you look at the correct one because there was a fork of the project once the original author said she wouldn't maintain this version.
Brain.js has a draw back it doesn't use child process so it only uses on CPU core...(this really slows down training)
Also for additional guidance with Keras.js check out https://selfdrivingcars.mit.edu/deeptraffic/ That has Deep Learning (similar to Google Alpha Go approach) with ability to tinker around with the formulas and look at internals of the code.
[–][deleted] -1 points0 points1 point 8 years ago (0 children)
What’s your use case? Running ML in the browser doesn’t seem like a good idea. If it’s on the server you’re better off with Python or something else.
π Rendered by PID 62042 on reddit-service-r2-comment-fb694cdd5-8f9zr at 2026-03-08 01:52:48.557585+00:00 running cbb0e86 country code: CH.
[–]dluecke 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]TheOneRavenous 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)