How arturmarschenkulov/rusty_neural_networks works
This repository contains Rust neural-network experiments, with the active executable loading MNIST CSV data, preparing training inputs and labels, and running gradient descent on a fully connected classifier. The network uses activation functions for its forward and backward calculations; prediction and accuracy helpers are implemented, though prediction is commented out in the executable. The tree also contains a separate scalar-regression network experiment and a standalone matrix type. Those files are not connected to the active executable in the excerpts. Edges reflect only shown calls or documented data access.
Main entry points: main.rs MNIST training runner · network.rs Network training and prediction · mnist_test.csv MNIST CSV data · activation.rs Activation functions
Components 7
MNIST workflow
- MNIST training runner
src/main.rs - MNIST CSV data
mnist_test.csv
Classifier internals
- Network training and prediction
src/network.rs - Activation functions
src/activation.rs
Standalone experiments
- Scalar regression network
src/t/mod.rs
Matrix operations
- Matrix operations
src/matrix.rs
Other components
- Program launch
Connections 4
- Program launch → MNIST training runner: runs
src/main.rs - MNIST training runner → MNIST CSV data: loads
src/main.rs - MNIST training runner → Network training and prediction: trains
src/main.rs - Network training and prediction → Activation functions: evaluates
src/network.rs