JavaScript machine learning libraries

81 libraries, 26 updated this year

Machine learning in JavaScript mostly means running models in the browser or Node.js. TensorFlow.js trains and runs models with WebGL and WebGPU acceleration, Brain.js offers simple neural networks, and ONNX-based runtimes load models trained elsewhere. Karpathy's ConvNetJS is a well-known teaching implementation that is no longer developed.

For text, natural and compromise handle tokenizing, stemming and tagging without a server. The section also lists the charting libraries data work depends on, including D3, Chart.js, nivo, Highcharts and Sigma.js for graphs, and small demos such as NSFWJS that show what in-browser inference can do.

81 libraries

D3.jsd3/d3

Bring data to life with SVG, Canvas and HTML.

Data & viz
113.8k updated 3d ago

chartjschartjs/Chart.js

Simple HTML5 Charts using the <canvas> tag

Data & viz
67.8k updated 1d ago

Netronlutzroeder/netron

Visualizer for machine learning models.

GeneralDeep learningMLOps
33.6k updated today

MXNetapache/incubator-mxnet Archived

Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Go, JavaScript and more.

GeneralDeep learning
20.8k archived

TensorFlow.jstensorflow/tfjs

A WebGL accelerated, browser based JavaScript library for training and deploying ML models.

GeneralDeep learning
19.2k updated 4mo ago

Brain.jsBrainJS/brain.js

Neural networks in JavaScript - continued community fork of Brain.

GeneralDeep learning
14.9k updated 2y ago

Nivoplouc/nivo

Built on top of the awesome d3 and Reactjs libraries

Data & viz
14.1k updated 3mo ago

High Chartshighcharts/highcharts

Highcharts JS, the JavaScript charting framework

Data & viz
12.5k updated today

Sigma.jsjacomyal/sigma.js

JavaScript library dedicated to graph drawing.

Data & viz
12.2k updated 8d ago

NLP Compromisespencermountain/compromise

Natural Language processing in the browser.

NLP
12.2k updated 5d ago

Convnet.jskarpathy/convnetjs Deprecated

ConvNetJS is a JavaScript library for training Deep Learning models

GeneralDeep learning
11.2k updated 3y ago

naturalNaturalNode/natural

General natural language facilities for node.

NLP
10.9k updated today

C3.jsc3js/c3

Customizable library based on D3.js for easy chart drawing.

Data & viz
9.4k updated 4d ago

NSFWJSinfinitered/nsfwjs

Indecent content checker with TensorFlow.js

Examples
9k updated 2mo ago

Brainharthur/brain Archived

Neural networks in JavaScript

GeneralDeep learning
8k archived

dc.jsdc-js/dc.js

Multi-Dimensional charting built to work natively with crossfilter rendered with d3.js

Data & viz
7.4k updated 2y ago
N

NVD3.jsnovus/nvd3

A reusable charting library written in d3.js

Data & viz
7.2k updated 3y ago

Synapticcazala/synaptic

Architecture-free neural network library for Node.js and the browser.

GeneralDeep learning
6.9k updated 2mo ago

ml5ml5js/ml5-library

Friendly machine learning for the web!

GeneralDeep learning
6.6k updated 2y ago

nlp.jsaxa-group/nlp.js

An NLP library built in node over Natural, with entity extraction, sentiment analysis, automatic language identify, and so more.

NLP
6.6k updated 1y ago

stdlibstdlib-js/stdlib

A standard library for JavaScript and Node.js, with an emphasis on numeric computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.

Math
6k updated today

Knwl.jsloadfive/Knwl.js

A Natural Language Processor in JS.

NLP
5.2k updated 3y ago

Keras.jstranscranial/keras-js

Run Keras models in the browser, with GPU support provided by WebGL 2.

GeneralDeep learning
5k updated 4y ago
D

Datamapsmarkmarkoh/datamaps Deprecated

Customizable SVG map/geo visualizations using D3.js.

Data & viz
3.8k updated 8mo ago

simple-statisticssimple-statistics/simple-statistics

A JavaScript implementation of descriptive, regression, and inference statistics. Implemented in literate JavaScript with no dependencies, designed to work in all modern browsers (including IE) as well as in Node.js.

Math
3.5k updated 10d ago

Twitter Text Javatwitter/twitter-text

A Java implementation of Twitter's text processing library.

NLP
3.1k updated 2y ago

ml.jsmljs/ml

Machine learning and numerical analysis tools for Node.js and the Browser!

General
2.7k updated 2y ago

Pipcookalibaba/pipcook

A JavaScript application framework for machine learning and its engineering.

Deep learningMath
2.6k updated today

Retextretextjs/retext

Extensible system for analyzing and manipulating natural language.

NLP
2.4k updated 1y ago

WebDNNmil-tokyo/webdnn

Fast Deep Neural Network JavaScript Framework. WebDNN uses next generation JavaScript API, WebGPU for GPU execution, and WebAssembly for CPU execution.

GeneralDeep learning
2k updated 8d ago

Auto MLClimbsRocks/auto_ml

Automated machine learning, data formatting, ensembling, and hyperparameter optimization for competitions and exploration- just give it a.csv file!

GeneralMLOps
1.7k updated 5y ago

sylvesterjcoglan/sylvester Deprecated

Vector and Matrix math for JavaScript.

Math
1.2k updated 7y ago

regression-jsTom-Alexander/regression-js

A javascript library containing a collection of least squares fitting methods for finding a trend in a set of data.

Math
950 updated 3y ago

science.jsjasondavies/science.js Deprecated

Scientific and statistical computing in JavaScript.

Data & viz
895 updated 4d ago

machinelearn.jsmachinelearnjs/machinelearnjs

Machine Learning library for the web, Node.js and developers

General
540 updated 8mo ago
C

Clusterfckharthur/clusterfck Archived

Agglomerative hierarchical clustering implemented in JavaScript for Node.js and the browser.

General
516 archived

Pavlov.jsNathanEpstein/Pavlov.js

Reinforcement learning using Markov Decision Processes.

GeneralRL
497 updated 8y ago

DN2Aantoniodeluca/dn2a.js Deprecated

Digital Neural Networks Architecture.

GeneralDeep learning
462 updated 3y ago

D3xterNathanEpstein/D3xter Deprecated

Straight forward plotting built on D3.

Data & viz
335 updated 6y ago

Node-SVMnicolaspanel/node-svm

Support Vector Machine for Node.js

General
301 updated 7y ago

LDA.jsprimaryobjects/lda

LDA topic modelling for Node.js

GeneralNLP
293 updated 2y ago

datakitnathanepstein/datakit

A lightweight framework for data analysis in JavaScript

Data & viz
286 updated 9y ago

NeuralNtotemstech/neuraln Deprecated

C++ Neural Network library for Node.js. It has advantage on large dataset and multi-threaded training.

GeneralDeep learning
274 updated 11y ago

Decision Treesserendipious/nodejs-decision-tree-id3 Deprecated

NodeJS Implementation of Decision Tree using ID3 Algorithm.

General
220 updated 6mo ago

Node-fannrlidwka/node-fann Deprecated

FANN (Fast Artificial Neural Network Library) bindings for Node.js

GeneralDeep learning
183 updated 9y ago

kalmanitamarwe/kalman Deprecated

Kalman filter for JavaScript.

General
117 updated 3mo ago

shamanluccastera/shaman Deprecated

Node.js library with support for both simple and multiple linear regression.

General
106 updated 10y ago

Z3dNathanEpstein/Z3d Deprecated

Easily make interactive 3d plots built on Three.js

Data & viz
88 updated 11y ago

GreatCirclemwgg/GreatCircle

Library for calculating great circle distance.

MathExamples
78 updated 4y ago

Learning.jsyandongliu/learningjs Deprecated

JavaScript implementation of logistic regression/c4.5 decision tree

General
64 updated 7y ago
Esc

Type to search every entry. ↑↓ to move, Enter to open.