This repository contains a neural network implementation from scratch to train on the MNIST dataset.
To set up the project locally, follow these steps:
-
Extract the MNIST dataset:
# Extract the MNIST tar archive dataset to ./tmp mkdir -p ./.tmp && tar -xf ./dataset/mnist.tar.gz -C ./.tmp --strip-components=1
-
Install the required Python packages:
pip install -r requirements.txt
# Run application
python src/nn.py
# Run unit tests
pytest -s