Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tito21/network-cpp
Simple MLP in cpp
https://github.com/tito21/network-cpp
Last synced: 16 days ago
JSON representation
Simple MLP in cpp
- Host: GitHub
- URL: https://github.com/tito21/network-cpp
- Owner: tito21
- License: mit
- Created: 2022-05-09T02:54:45.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-29T23:19:14.000Z (6 months ago)
- Last Synced: 2024-06-30T07:38:06.591Z (6 months ago)
- Language: C++
- Size: 33.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple neurnal network in C++
This repo contains a simple multilayer perceptron (MLP) to classify MNIST digits
written in C++11. It's heavily inspired by the implementation in python from the
first chapter of the [Neural Networks and Deep
Learning](http://neuralnetworksanddeeplearning.com/) by Michael Nielse.It uses the [Armadillo](http://arma.sourceforge.net/) library for matrix
operationsUsing the two hidden layers with units 64, 32 and a learning rate of 3 achieves
a 94.71% accuracy in the test set in 10 epochs (~9s per epoch, total time 88s).The folder `dataset` includes a text representation of the original data
generated by Matlab.