Deep Learning · 2026
Neural Network from Scratch
Forward/backpropagation and gradient descent in pure NumPy.
Model
- Multi-layer perceptron implemented in raw NumPy
- Manual forward pass, backpropagation and gradient descent
- ReLU + softmax output; mini-batch training loop written from scratch
Dataset
MNIST digits (784-dim flattened inputs) loaded directly into NumPy arrays.
Results & metrics
- Test accuracy
- ~0.97
- Framework
- pure NumPy
- Training
- mini-batch SGD
Deployment steps
- 1Implement layers, activations and gradients by hand
- 2Train with mini-batch gradient descent
- 3Evaluate on the MNIST test split in the Kaggle notebook
Tech stack
- NumPy
- Backpropagation