Skip to content
life00Public

About

Neural network from scratch in C++

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

39 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nn-cpp

Backpropagation through neuron j

A neural network from scratch in C++, trained with backpropagation on Fashion-MNIST. Derivation: docs/backprop_derivation.pdf.

Layout

.
├── src/
│   ├── main.cpp    training pipeline
│   ├── io.*        data loading and export
│   ├── net.*       network
│   └── tests/      XOR check
├── docs/           derivation
├── evaluator/      accuracy script
└── data/           dataset (not tracked)

Build and run

g++ -std=c++20 -O3 src/*.cpp -o network
./network
python3 evaluator/evaluate.py test_predictions.csv data/fashion_mnist_test_labels.csv

About

Neural network from scratch in C++

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages