https://github.com/janhuenermann/neurojs
A JavaScript deep learning and reinforcement learning library.
https://github.com/janhuenermann/neurojs
deep-learning javascript machine-learning neural-network reinforcement-learning self-driving-car
Last synced: 2 days ago
JSON representation
A JavaScript deep learning and reinforcement learning library.
- Host: GitHub
- URL: https://github.com/janhuenermann/neurojs
- Owner: janhuenermann
- License: mit
- Created: 2016-09-18T23:33:53.000Z (about 10 years ago)
- Default Branch: experimental
- Last Pushed: 2023-10-10T12:55:04.000Z (about 3 years ago)
- Last Synced: 2026-11-18T20:38:38.073Z (8 days ago)
- Topics: deep-learning, javascript, machine-learning, neural-network, reinforcement-learning, self-driving-car
- Language: JavaScript
- Homepage: http://janhuenermann.com/projects/learning-to-drive
- Size: 18.6 MB
- Stars: 4,366
- Watchers: 154
- Forks: 360
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-javascript - janhuenermann/neurojs - A JavaScript deep learning and reinforcement learning library. (Machine Learning and AI / Machine Learning Frameworks)
- awesome-github-star - neurojs
- awesome-deep-reinforcement-learning - https://github.com/janhuenermann/neurojs - [](https://github.com/janhuenermann/neurojs/stargazers)  (Neural Networks (NN) and Deep Neural Networks (DNN) / NN/DNN Software Frameworks)
- awesome-autonomous-vehicle - NeuroJS - javascript深度学习和强化学习库。 一个样本自动驾驶汽车实施。 (小游戏 / 其他)
- awesome-autonomous-vehicles - NeuroJS - A javascript deep learning and reinforcement learning library. A sample self-driving car implementation. (Toys)
- awesome-github-projects - neurojs - A JavaScript deep learning and reinforcement learning library. ⭐4,366 `JavaScript` (📦 Legacy & Inactive Projects)
- awesome-javascript-libraries - janhuenermann/neurojs - A javascript deep learning and reinforcement learning library. (Uncategorized / Uncategorized)
README

# neurojs
neurojs is a JavaScript framework for deep learning in the browser. It mainly focuses on reinforcement learning, but can be used for any neural network based task. It contains neat demos to visualise these capabilities, for instance a 2D self-driving car.
Feel free to contribute. The development on such projects is more awesome in a community!
**Note: this repo is no longer maintained since more general frameworks such as TensorFlow-JS emerged, which I recommend you to use.**
### Features
- Implements a full-stack neural-network based machine learning framework
- Extended reinforcement-learning support
+ Uniform and prioritised replay buffers
+ Advantage-learning (increasing the action-gap) https://arxiv.org/pdf/1512.04860v1.pdf
+ Support for **deep-q-networks** and **actor-critic** models (via deep-deterministic-policy-gradients)
- Binary import and export of network configurations (weights etc.)
- High-performance
### Examples
- [Self-driving car](/examples/cars)
- [Advanced XOR](/examples/adv-xor)
- [Andrej Karpathy's Waterworld](/examples/waterworld) (ConvNetJS replaced with NeuroJS)
### Running the examples
```bash
npm install
npm start
```
Open `http://localhost:8080/examples/` in your browser and select the demo you want to run.
### What's next?
- More examples (pong, pendulum, snake,improved cars, etc.)
- Support for web workers
- LSTM and backpropagation through time