How sonicallgamexgit/ee_ee works
This repository implements a small MNIST digit-classification program using a handwritten feed-forward neural network. Its principal workflow loads training images and labels, optionally augments images, trains the network, saves its parameters, then loads the model and evaluates it on test data. The graph separates dataset decoding, application workflow, and neural-network/model handling. Source excerpts show these calls directly; no README description is available, and the build currently selects a drawing test rather than src/main.cpp, so the graph describes the workflow implemented in that source file.
Main entry points: main.cpp Train and test · network.hpp Model persistence · mnist.hpp Image loader · improved_network.dat Saved model
Components 11
MNIST workflow
- Train and test
src/main.cpp - Image augmentation
include/util/image.hpp
Dataset decoding
- Image loader
include/mnist/mnist.hpp - Label loader
include/mnist/mnist.hpp - Byte conversion
include/util/bytes.hpp - MNIST datasets
assets/mnist
Network and model
- Neural network
include/network.hpp - Backpropagation
include/network.hpp - Model persistence
include/network.hpp - Saved model
assets/mnist/improved_network.dat
Other components
- Program user
Connections 15
- Program user → Train and test: runs
src/main.cpp - Train and test → Image loader: loads images
src/main.cpp - Train and test → Label loader: loads labels
src/main.cpp - Image loader → MNIST datasets: reads image files
- Label loader → MNIST datasets: reads label files
- Image loader → Byte conversion: converts headers
include/mnist/mnist.hpp - Label loader → Byte conversion: converts headers
include/mnist/mnist.hpp - Train and test → Image augmentation: augments training images
src/main.cpp - Train and test → Neural network: runs forward pass
src/main.cpp - Train and test → Backpropagation: updates weights
src/main.cpp - Train and test → Model persistence: saves trained model
src/main.cpp - Model persistence → Saved model: writes parameters
- Train and test → Model persistence: loads model
src/main.cpp - Saved model → Model persistence: supplies parameters
- Train and test → Neural network: evaluates test images
src/main.cpp