Solo School Project for a Neural Networks Class implementing backprop/MLP on a MNIST dataset
| data | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| OVERVIEW.png | ||
| README.md | ||
| tmp_repl.txt | ||
Rust Deep Learning
School Project I did for a Neural Networks Class at the end of 2023:
- Implements a neural net (backpropagation / multilayer perceptron) in Rust
- Constraint: Can't use any Linear Algebra libraries or frameworks
- Training/Dataset: Fashion-MNIST dataset (achieves about 91% accuracy in less than 10 min of training)
See OVERVIEW.png for the underlying math I came up with to do backprop and organize memory.
Dataset
Fashion MNIST (https://arxiv.org/pdf/1708.07747.pdf). Dataset of images ‒ consisting of a training set of 60,000 examples and a test set of 10,000 examples. Each example is a 28x28 grayscale image, associated with a label from 10 classes. The dataset is in CSV format:
fashion_mnist_train_vectors.csv- training input vectorsfashion_mnist_test_vectors.csv- testing input vectorsfashion_mnist_train_labels.csv- training labelsfashion_mnist_test_labels.csv- testing labels