1.0.1 • Published 6 years ago

nnet v1.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

Deep Neural Network

A simple Deep Neural Network Library (Not Optimized but gets simple works done).

TODO

  • Add Adam
  • Add ReLU
  • MNIST Example
  • Model Saving and Restoring
  • Add Support for Evolutionary Computing (Genetic Algorithms)

Example

const nnet = new Model(n_Error.meanSquaredError, 0.2);

nnet.addLayer(new Layer(2, sigmoid));
nnet.addLayer(new Layer(8, sigmoid));
nnet.addLayer(new Layer(1, sigmoid));

nnet.train(inputs, outputs);

nnet.predict(input).print();

npm installation

npm install nnet

License

This project is licensed under the terms of the MIT license,see LICENSE.