A fully functional neural network implementation built entirely from NumPy, featuring:
- ✅ Forward and backward propagation
- ✅ Adam optimizer with bias correction
- ✅ Multiple activation functions (ReLU, tanh, sigmoid, softmax)
- ✅ Proper weight initialization (Xavier/He)
- ✅ Numerical stability (clipping, softmax stabilization)
- ✅ Batch training with shuffling
- 100% accuracy - solved the classic non-linear problem
- 96.07% test accuracy with just 10k training samples
- Architecture:
784 → 128 → 64 → 10
pip install -r requirements.txtpython examples/xor_example.pypython examples/mnist_example.py