karpathy/svmjs — explained in plain English
Analysis updated 2026-07-17 · repo last pushed 2018-04-14
Build an interactive web demo where users draw and label points to watch an SVM learn a decision boundary live
Add ML classification directly in a frontend app without calling an external API
Prototype a two-category classifier quickly in a Jupyter notebook using JavaScript
Train a model once, save it as JSON, and load it elsewhere to classify new data
| karpathy/svmjs | yyx990803/html5-clear | truelockmc/streambert | |
|---|---|---|---|
| Stars | 711 | 720 | 728 |
| Language | JavaScript | JavaScript | JavaScript |
| Last pushed | 2018-04-14 | 2020-10-02 | — |
| Maintenance | Dormant | Dormant | — |
| Setup difficulty | easy | easy | easy |
| Complexity | 3/5 | 2/5 | 1/5 |
| Audience | developer | developer | general |
Figures from each repo's GitHub metadata at analysis time.
Best results require tuning the kernel choice and the C parameter for your specific dataset.
svmjs is a lightweight JavaScript library for training a Support Vector Machine classifier entirely in the browser or Node.js, letting you build interactive machine-learning demos without a Python backend.
Mainly JavaScript. The stack also includes JavaScript.
Dormant — no commits in 2+ years (last push 2018-04-14).
License terms are not described in the explanation, check the repository directly before use.
Setup difficulty is rated easy, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
double-check against the repo, no cap.