An opensource package to create a Neural Network
- Forward Propagation
- Sigmoid Activation
- Backward Propagation
- Gradient Descent
- Sigmoid Derivative (Sigmoid Prime)
- Architecture consist of one input layer, one hidden layer, and one output layer
- On index.js you can set config for neural network
{
inputNodes: 1, // number of features on input layer
hiddenNodes: 2, // numbrer of neurons on hidden layer
outputNodes: 2, // number of result on output layer
epochs: 100000, // number of iterations for training
learningRate: .05 // learning rate for gradient descent adjustments on weight
}
-
Data are found on data.js, specified as input and expected data, you can alter the file to your likings and for other necessary processing for your data before passing it to the neural network
-
On index.js you can set the test data for prediction
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Eagan Martin
Copyright © 2019, Eagan Martin. Release under the The Unlicense