mljs/ml
A JavaScript library bundling machine learning algorithms for browser and Node.js use.

The mljs/ml library is a compilation of machine learning tools developed by the mljs organization. It provides implementations of classic ML algorithms including clustering methods (K-means, hierarchical clustering, PCA), supervised classifiers (Naive Bayes, KNN, decision trees, random forests), neural networks (feedforward networks, self-organizing maps), and regression models. The library is designed primarily for browser use via a global ML variable, though Node.js users can install individual sub-packages.
Frequently asked
- What is mljs/ml?
- A JavaScript library bundling machine learning algorithms for browser and Node.js use.
- Is ml open source?
- Yes — mljs/ml is open source, released under the MIT license.
- What language is ml written in?
- mljs/ml is primarily written in JavaScript.
- How popular is ml?
- mljs/ml has 2.7k stars on GitHub.
- Where can I find ml?
- mljs/ml is on GitHub at https://github.com/mljs/ml.