{"adoption": {"forks": 209, "observed_at": "2026-08-28T04:07:12.047851+00:00", "stars": 2715}, "canonical_url": "https://ross.abutalabs.com/products/ml", "card": {"archived": false, "artifact_type": "library", "description": "Machine learning tools in JavaScript", "domain": ["machine-learning", "data-science", "web-development"], "enriched": true, "function": ["machine-learning", "data-science", "math"], "health_score": 29, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["mljs/ml"], "name": "mljs/ml", "platform": ["browser"], "pushed_at": "2024-10-21T07:02:43+00:00", "repo": "mljs/ml", "stars": 2715, "tags": ["javascript", "browser-ml", "clustering", "regression", "neural-networks", "pca", "decision-trees", "random-forest", "naive-bayes", "knn", "k-means", "umd", "nodejs"], "topics": ["machine-learning", "ml", "javascript"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/ml", "repo": "mljs/ml", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:12.047851+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:15:30.855705+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f7d1cb30cb7e868975cf6ea7fda1f637b7245b8c0a2399944c89c7af328b24d0", "fetched_at": "2026-08-28T04:07:12.047851+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mljs/ml"}, {"content_hash": "c04e46cba2647191f5e09adfceca1d1b9ed091de53e9ea3f3c217f85eca1b1ac", "fetched_at": "2026-08-29T09:58:51.688105+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/ml"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:12.047851+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:15:30.855705+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f7d1cb30cb7e868975cf6ea7fda1f637b7245b8c0a2399944c89c7af328b24d0", "fetched_at": "2026-08-28T04:07:12.047851+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mljs/ml"}, {"content_hash": "c04e46cba2647191f5e09adfceca1d1b9ed091de53e9ea3f3c217f85eca1b1ac", "fetched_at": "2026-08-29T09:58:51.688105+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/ml"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:15:30.855705+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f7d1cb30cb7e868975cf6ea7fda1f637b7245b8c0a2399944c89c7af328b24d0", "fetched_at": "2026-08-28T04:07:12.047851+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mljs/ml"}, {"content_hash": "c04e46cba2647191f5e09adfceca1d1b9ed091de53e9ea3f3c217f85eca1b1ac", "fetched_at": "2026-08-29T09:58:51.688105+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/ml"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:07:12.047851+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:12.047851+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:12.047851+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:15:30.855705+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f7d1cb30cb7e868975cf6ea7fda1f637b7245b8c0a2399944c89c7af328b24d0", "fetched_at": "2026-08-28T04:07:12.047851+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mljs/ml"}, {"content_hash": "c04e46cba2647191f5e09adfceca1d1b9ed091de53e9ea3f3c217f85eca1b1ac", "fetched_at": "2026-08-29T09:58:51.688105+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/ml"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:12.047851+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:12.047851+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:15:30.855705+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f7d1cb30cb7e868975cf6ea7fda1f637b7245b8c0a2399944c89c7af328b24d0", "fetched_at": "2026-08-28T04:07:12.047851+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mljs/ml"}, {"content_hash": "c04e46cba2647191f5e09adfceca1d1b9ed091de53e9ea3f3c217f85eca1b1ac", "fetched_at": "2026-08-29T09:58:51.688105+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/ml"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:12.047851+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:12.047851+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:12.047851+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:15:30.855705+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f7d1cb30cb7e868975cf6ea7fda1f637b7245b8c0a2399944c89c7af328b24d0", "fetched_at": "2026-08-28T04:07:12.047851+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mljs/ml"}, {"content_hash": "c04e46cba2647191f5e09adfceca1d1b9ed091de53e9ea3f3c217f85eca1b1ac", "fetched_at": "2026-08-29T09:58:51.688105+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/ml"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:12.047851+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:12.047851+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:15:30.855705+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f7d1cb30cb7e868975cf6ea7fda1f637b7245b8c0a2399944c89c7af328b24d0", "fetched_at": "2026-08-28T04:07:12.047851+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mljs/ml"}, {"content_hash": "c04e46cba2647191f5e09adfceca1d1b9ed091de53e9ea3f3c217f85eca1b1ac", "fetched_at": "2026-08-29T09:58:51.688105+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/ml"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:15:30.855705+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f7d1cb30cb7e868975cf6ea7fda1f637b7245b8c0a2399944c89c7af328b24d0", "fetched_at": "2026-08-28T04:07:12.047851+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mljs/ml"}, {"content_hash": "c04e46cba2647191f5e09adfceca1d1b9ed091de53e9ea3f3c217f85eca1b1ac", "fetched_at": "2026-08-29T09:58:51.688105+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/ml"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:15:30.855705+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f7d1cb30cb7e868975cf6ea7fda1f637b7245b8c0a2399944c89c7af328b24d0", "fetched_at": "2026-08-28T04:07:12.047851+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mljs/ml"}, {"content_hash": "c04e46cba2647191f5e09adfceca1d1b9ed091de53e9ea3f3c217f85eca1b1ac", "fetched_at": "2026-08-29T09:58:51.688105+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/ml"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:15:30.855705+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f7d1cb30cb7e868975cf6ea7fda1f637b7245b8c0a2399944c89c7af328b24d0", "fetched_at": "2026-08-28T04:07:12.047851+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mljs/ml"}, {"content_hash": "c04e46cba2647191f5e09adfceca1d1b9ed091de53e9ea3f3c217f85eca1b1ac", "fetched_at": "2026-08-29T09:58:51.688105+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/ml"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4328, "days_push": 681, "days_rel": 681, "gap_med": null, "n_releases_24m": 1}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}