Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.78 KB

README.md

File metadata and controls

54 lines (37 loc) · 1.78 KB

neural-net-js

contributors stars commits last commit License

An opensource package to create a Neural Network

Features

  • 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

Quickstart

  • 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

About

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Contributors

Author

Eagan Martin

License

Copyright © 2019, Eagan Martin. Release under the The Unlicense