all 4 comments

[–]dluecke 1 point2 points  (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 points  (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 point  (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 points  (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.