A historical evaluation of the LeNet-5 CNN architecture (LeCun et al., 1998) trained using Stochastic Gradient Descent (SGD) on two foundational computer vision benchmarks.
| Dataset | Type | Input Dim | Test Accuracy |
|---|---|---|---|
| MNIST | Handwritten Digits | 96.65% | |
| CIFAR-10 | Real-world Objects | 45.48% |
- MNIST (96.65%): LeNet-5 easily extracts spatial features from simple, single-channel geometric patterns.
-
CIFAR-10 (45.48%): The shallow depth and low feature map capacity (
$6/16$ channels) limit the model's ability to generalize across high intra-class color variations and complex backgrounds.
- Clone the repository.
- Install requirements:
pip install tensorflow matplotlib scikit-learn datasets. - Run the main notebook:
LeNet-5.ipynb.