ml.js
Machine learning and numerical analysis tools in JavaScript for Node.js and the BrowserThe ml.js organization on GitHub was created in October 2014 in the group of Luc Patiny at EPFL. It provides machine learning, statistics and numerical analysis in JavaScript, for the browser and Node.js: matrices and linear algebra, regression, clustering, classification, dimensionality reduction, and signal and spectra processing.
It contains 112 public repositories and 118 packages published on npm, downloaded 48,082,689 times in September 2026 and 431,139,748 times in the last 12 months (October 2025 to September 2026). Many of these packages are currently maintained by Zakodium Sàrl.
Most downloaded in September 2026
| Package | Sep 2026 | 12 months | ||
|---|---|---|---|---|
| 1 | ml-matrix | 6,767,495 | 57,844,526 | Matrix manipulation and computation library |
| 2 | ml-array-max | 6,522,046 | 54,761,511 | Get the maximum value in an array |
| 3 | ml-array-min | 6,520,920 | 54,738,609 | Get the minimum value in an array |
| 4 | ml-array-rescale | 6,520,085 | 54,701,533 | Rescale an array into a range |
| 5 | ml-xsadd | 3,266,968 | 26,496,965 | JavaScript implementation of the XORSHIFT-ADD (XSadd) pseudo random number generator |
| 6 | ml-spectra-processing | 2,673,469 | 21,006,256 | Various method to process spectra |
| 7 | linear-sum-assignment | 2,419,351 | 19,557,782 | it performs a linear sum assignment even if the cost matrix is rectangular. |
| 8 | ml-distance-euclidean | 1,719,205 | 17,617,547 | Compute the euclidean distance between two vectors |
| 9 | ml-distance | 785,334 | 9,822,203 | Distance and similarity functions to compare vectors |
| 10 | ml-tree-similarity | 745,870 | 9,788,816 | Compares two spectra using a tree similarity |
Sister organizations
cheminfoOpen-source tools for chemistry, in JavaScript 176 npm packages, 107 million downloads in the last 12 months |
image-jsImage processing and analysis in JavaScript 13 npm packages, 684 million downloads in the last 12 months |
Updated on 2026-10-30 from the GitHub and npm APIs. Repositories are the public ones of mljs, forks excluded. Downloads are those reported by npm for whole calendar months.
Pinned Loading
-
ml ml Public
Machine learning tools in JavaScript
-
matrix matrix Public
Matrix manipulation and computation library
-
pca pca Public
Principal component analysis
-
knn knn Public
A k-nearest neighboor classifier algorithm.
-
feedforward-neural-networks feedforward-neural-networks Public
A implementation of feedforward neural networks based on wildml implementation
-
libsvm libsvm Public
LIBSVM for the browser and nodejs 🔥
Repositories
Showing 10 of 113 repositories-
spectra-processing
Public
Various methods to help spectra processing
Uh oh!
There was an error while loading. Please reload this page.
mljs/spectra-processing's past year of commit activity TypeScript 10 MIT 13 8 11 Updated Nov 25, 2026 - matrix-peaks-finder Public mljs/matrix-peaks-finder's past year of commit activity JavaScript 1 MIT 2 1 0 Updated Nov 21, 2026
-
random
Public
Randomness utilities
Uh oh!
There was an error while loading. Please reload this page.
mljs/random's past year of commit activity TypeScript 2 MIT 1 1 1 Updated Nov 17, 2026 -
.github
Public
Uh oh!
There was an error while loading. Please reload this page.
mljs/.github's past year of commit activity 0 0 0 0 Updated Oct 30, 2026 -
levenberg-marquardt
Public
Curve fitting method in JavaScript
Uh oh!
There was an error while loading. Please reload this page.
mljs/levenberg-marquardt's past year of commit activity TypeScript 81 MIT 19 16 (1 issue needs help) 8 Updated Oct 22, 2026 -
peak-shape-generator
Public
Generate various peak shapes.
Uh oh!
There was an error while loading. Please reload this page.
mljs/peak-shape-generator's past year of commit activity TypeScript 1 MIT 4 7 2 Updated Oct 21, 2026 -
savitzky-golay-generalized
Public
General Least-Squares Smoothing and Differentiation by the Convolution (Savitzky-Golay) Method Peter A. Gorry
Uh oh!
There was an error while loading. Please reload this page.
mljs/savitzky-golay-generalized's past year of commit activity TypeScript 12 MIT 3 0 4 Updated Oct 20, 2026 -
global-spectral-deconvolution
Public
Global Spectra Deconvolution + Peak optimizer
Uh oh!
There was an error while loading. Please reload this page.
mljs/global-spectral-deconvolution's past year of commit activity TypeScript 15 MIT 9 3 4 Updated Oct 20, 2026 -
matrix
Public
Matrix manipulation and computation library
Uh oh!
There was an error while loading. Please reload this page.
mljs/matrix's past year of commit activity JavaScript 402 MIT 63 17 3 Updated Oct 19, 2026 -
distance
Public
Distance functions to compare vectors
Uh oh!
There was an error while loading. Please reload this page.
mljs/distance's past year of commit activity TypeScript 81 MIT 6 3 5 Updated Oct 18, 2026
People
Top languages
Loading…
Uh oh!
There was an error while loading. Please reload this page.
Most used topics
Loading…
Uh oh!
There was an error while loading. Please reload this page.

