jellybrain

1.0.1 • Public • Published

JellyBrain

JellyBrain is a simple neural network written in Javascript. This was written as an exercise to learn how neural networks work.

Usage

const JellyBrain = require('./JellyBrain');

let brain = new JellyBrain(2, 2, 1);    // 2 inputs, 2 hidden nodes, 1 output

brain.train([0.2, 0.5], 1);
brain.guess([0.1, 0.6]);

License

ISC

Package Sidebar

Install

npm i jellybrain

Weekly Downloads

3

Version

1.0.1

License

ISC

Unpacked Size

10.2 kB

Total Files

3

Last publish

Collaborators

  • frasersab