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

How is the JS neural environment? I remember a few years ago thinking "JS + NN... that's silly"


Looks like it's written by hand in raw JS. Here's the training loop: https://github.com/victorqribeiro/bangBang/blob/master/js/De... and here's matrix multiplication: https://github.com/victorqribeiro/bangBang/blob/master/js/Ma...


Yep, dejavu is my toy neural network that I use for small and experimental projects like this


Nicely done on implementation though...


thank you


I use both brain.js and tensorflow.js.

Former is way simpler and starts faster. The latter is more powerful, of course, and can infer using heavier models trained on a powerful machine.

Ran a few tests and found that on the server side python+tensorflow performance is practically identical to node+tensorflow.


@Aspos - wow, thanks for that comment.

Your finding is astounding to me. Great to hear - I'm floored by hearing they're in the same ballpark.


I like the idea of using the client computer power to predict results and make some computations...


Absolutely - I was asking more out of curiosity, and it seems JS+NN area is more useful than I had believed a few years ago when I last visited the topic.




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: