An open API service indexing awesome lists of open source software.

https://github.com/stypox/neural-network

Fully-connected neural network trained using derivatives
https://github.com/stypox/neural-network

Last synced: about 1 year ago
JSON representation

Fully-connected neural network trained using derivatives

Awesome Lists containing this project

README

          

# Neural network

This is a fully connected neural network implementation from the ground up, without using any library. It was made for practice purposes, by following [Neural Networks and Deep Learning](http://neuralnetworksanddeeplearning.com), and features both a (really really slow) Python3 and (fast) C++ implementation. It allows creating networks with multiple layers. It supports multiple activation and cost functions and allows defining more by the user, by extending the relevant class. Optimization is achieved with stochastic gradient descent (optionally keeping track of momentum), with the possibility to fine-tune multiple parameters: epochs, mini batch size, eta, regularization and momentum. By training with 100 hidden layers on the MNIST training data set, roughly 97%-98% of the test digits were correctly classified.