GPU accelerated Neural networks in JavaScript for Browsers and Node.js. brain.js is a GPU accelerated library for Neural Networks written in JavaScript. Brain.js depends on a native module headless-go for GPU support. In most cases installing brain.js from npm should just work. However, if you run into problems, this means prebuilt binaries are not able to download from GitHub repositories and you might need to build it yourself. Brain.js is super simple to use. You do not need to know Neural Networks in detail to work with this. Brain.js performs computations using GPU and gracefully fallback to pure JavaScript when GPU is not available. Brain.js provides multiple neural network implementations as different neural nets can be trained to do different things well. Easily export and import trained models using JSON format or as a function. Host pre-trained models on your website easily.

Features

  • For Browsers and Node.js
  • Simple, fast and easy to use
  • Brain.js performs computations using GPU and gracefully fallback to pure JavaScript when GPU is not available
  • Brain.js provides multiple neural network implementations as different neural nets can be trained to do different things well
  • Easily export and import trained models using JSON format or as a function. Host pre-trained models on your website easily
  • The Brain.js implementation is highly modular to allow easy extendability

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow brain.js

brain.js Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of brain.js!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

TypeScript

Related Categories

TypeScript Software Development Software, TypeScript Networking Software, TypeScript Neural Network Libraries

Registered

2022-03-11