Skip to content

isaiahtaylor/guster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

guster

Guster is a light, simple, yet adaptable neural network builder.

Installation:

npm install guster --save

Usage:

//example: XOR block
let Guster = require('guster')

let hiddenLayers = 1;
let neuronsPerLayer = 2;
let inputs = 2;
let outputs = 1;

let weights = 
[
    [
        [0.2, 0.3, 0.5],
        [0.4, 0.8, 0.1]
    ],
    [
        [0.7],
        [0.2],
        [0.2]
    ]
];

let network = new Guster(hiddenLayers, neuronsPerLayer, inputs, outputs, weights);
let inputParameters = [0, 1];
network.start(inputParameters);

You can also have a network generate its own weights.

let network = new Guster(hiddenLayers, neuronsPerLayer, inputs, outputs);
network.createWeights();
network.start(inputParameters);

You can also store that weight set for later manipulation.

let generatedWeights = network.getWeights();

Backpropogation coming soon.

About

A simple but flexible neural net library for Node.js.

Resources

Stars

Watchers

Forks

Packages

No packages published