mljs/ml
Machine learning tools in JavaScript observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4328
- days_rel: 681
- days_push: 681
- n_releases_24m: 1
Adoption not part of the score
2715 stars · 209 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
ml.js is an umbrella library bundling the mljs organization's machine learning tools for JavaScript, including clustering, classification, regression, neural networks, and optimization algorithms. It is primarily maintained for browser use via a UMD build exposing a global ML variable, while Node.js users are directed to the individual ml-* npm packages.
Use cases
- run machine learning in the browser with javascript
- cluster data with k-means or hierarchical clustering in js
- train a decision tree or random forest classifier in javascript
- fit linear or polynomial regression models in the browser
- do PCA dimensionality reduction in javascript
- build a simple feedforward neural network in js
- evaluate classifiers with a confusion matrix and cross-validation
When to choose
- you need classic ML algorithms (PCA, KMeans, KNN, random forests, regression) running client-side in a browser
- you want a single script tag with a global ML object and no build tooling
- you prefer lightweight modular ml-* npm packages for Node.js projects
When to avoid
- you need deep learning with GPU acceleration or large-scale training
- you work primarily in Python with scikit-learn or PyTorch ecosystems
- you need the latest algorithms or frequent updates, since sub-packages on npm are maintained more actively
Facets
library · maturity active
machine-learning data-science math machine-learning data-science web-development browser javascript browser-ml clustering regression neural-networks pca decision-trees random-forest naive-bayes knn k-means umd nodejs
2 sources
- readme: https://github.com/mljs/ml · fetched 2026-08-28 · f7d1cb30cb7e
- registry_npm: https://registry.npmjs.org/ml · fetched 2026-08-29 · c04e46cba264
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mljs/ml | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem