brain.js logo

Brain.js: GPU accelerated Neural networks in JavaScript

for Browsers and Node.js

Simple, fast and easy to use.

Simple To Use
Brain.js is super simple to use. You do not need to know Neural Networks in details to work with this. Details
Fast
Brain.js performs computations using GPU and gracefully fallback to pure JavaScript when GPU is not available. Details
Useful
Brain.js provides multiple neural network implementations as different neural nets can be trained to do different things well. Details
Easy To Integrate
Easily export and import trained models using JSON format or as a function. Host pre-trained models on your website easily. Details

Brain.js is Modular

The Brain.js implementation is highly modular to allow easy extendability.



GPU acceleratedSimple & Easy Asynchronous APIExport & Import Trained ModelsCross ValidationStream TrainingModular



Support

Support this project by becoming a Sponsor or Backer.

Become a Sponsor

Be a Part of Brain.js

Contributions are always welcome!

Contribute



Contributors

This project exists thanks to all the people who contribute. 🙏

Backers

Thanks to all the backers! 🙏

Sponsors

Thanks to all the sponsors! 🙏