Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For anyone interested, here is a sampling of available ML libs in JavaScript. The first two, including tensorflow.js, are sub-libraries of the major ML projects, and the others are custom JS libs:

[tensorflow.js](https://github.com/tensorflow/tfjs)

[mxnet.js](https://github.com/dmlc/mxnet.js/)

[propel.js](https://github.com/propelml/propel) - this uses tensorflow.js under the hood

[ml5](https://github.com/ml5js/ml5-library) - also uses tensorflow.js

[webdnn](https://github.com/mil-tokyo/webdnn)

[brain.js](https://github.com/BrainJS/brain.js)

[mljs](https://github.com/mljs/ml)

[synaptic](https://github.com/cazala/synaptic)

edit: added the ml5 lib mentioned in a subsequent comment.




[TensorFire](https://tenso.rs/)


recurrentjs https://github.com/karpathy/recurrentjs

convnetjs https://cs.stanford.edu/people/karpathy/convnetjs/

I think the author of these also had one for reinforcement learning.


brain.js if I remember correctly is a very old project and is no longer maintained. But it was great to learn the basic ANN concepts. What I would love to see is a Node.js implementation of deep learning and ML libs (those listed above are targeted for browsers). With Node.js supporting most of es6+ features it's been a fun coding in it. Can't wait to get hands on ML with server side JavaScript as well..


It is maintained now: http://brain.js.org/

...I'm the maintainer


It seems to have been updated quite a bit. With support for more modern NN architectures. But I don't know how fast it is relative to the others.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: