Npm install brain.js
Learning which is supervised includes: KNS, PLS, na├?┬»ve Bayes, logistic regression
Learning which is unsupervised, it includes: K means clustering and principal component analysis
And it provides you with the collection of tools of machine learning which mainly works with browsers and NodeJS.
If you want to run this model in the browser, you can easily run it with the support of GPU via WebGL. If you want to run this model in Node.js, it is possible there also in CPU mode. There are several models of Keras which you can run in the browser.
It is a framework of machine learning which is mainly used for Node.js and it supports feature engineering, the classification which is binary, multi-label classification and SVM.