Build an interactive browser demo that trains a neural network on user-drawn images in real time.
Prototype image classifiers in JavaScript without needing a Python environment or server.
Learn how convolutional neural networks work by running and modifying the included demos.
Add client-side machine learning to a web page without sending data to a server.
| karpathy/convnetjs | kautukkundan/awesome-profile-readme-templates | apachecn/apachecn-algo-zh | |
|---|---|---|---|
| Stars | 11,160 | 11,176 | 11,141 |
| Language | JavaScript | JavaScript | JavaScript |
| Setup difficulty | easy | easy | easy |
| Complexity | 3/5 | 1/5 | 1/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
The npm package may not work per the author, load the prebuilt browser script from the repo directly.
ConvNetJS is a JavaScript library for building and training neural networks, the kind of software that learns patterns from data. What makes it unusual is that it runs entirely in a web browser, with no server or installation required. You can train a network on image data, run it on new inputs, and watch the results, all on a webpage. The library supports the main building blocks used in modern machine learning: standard fully connected layers, convolutional layers (which are specialized for processing images), and an experimental module for reinforcement learning, where a model learns by trial and error rather than from labeled examples. Classification (sorting inputs into categories) and regression (predicting numeric values) are both supported. The README includes a worked example showing how to define a small network in a few lines of JavaScript, train it on a data point, and see the probability output shift after training. There are also online demos linked in the README covering handwritten digit recognition, image classification on a standard benchmark dataset, and a reinforcement learning agent. The library can be loaded directly into a webpage, or installed via npm for use in a Node.js environment. A prebuilt and minified version is available for download. If you want to modify the source, a compile step using the Ant build tool is needed to combine the source files and produce the final library file. The author notes in the README that the project is no longer actively maintained and that the npm package may not work. The source code and demos remain available for learning and reference purposes. The license is MIT.
A JavaScript library for training neural networks directly in the browser, with no installation needed. Supports image classification, regression, and reinforcement learning.
Mainly JavaScript. The stack also includes JavaScript, Node.js.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.