A tutorial for MNIST handwritten digit classification using sklearn, PyTorch and Keras.
- pytorch == 1.8.0
- scikit-learn == 0.24.1
| Question | Train Accuracy | Test Accuracy |
|---|---|---|
| 1 | 97.43 | 87.60 |
| 2 | 81.95 | 80.60 |
| 3 | 97.98 | 86.20 |
| 4 | 94.10 | 88.70 |
| 5 | 99.83 | 99.56 |
numpy_matplotlib_sklearn.ipynb: for numpy, matplotlib and sklearn.pytorch.ipynb: for pytorch.keras.ipynb: for keras.- Reference solution: (not published yet)
Code tested on following environments, other version should also work:
- linux system (ubuntu 16.04)
- python 3.6.3
- numpy 1.13.3
- matplotlib 2.1.0
- sklearn 0.19.1
- pytorch 0.4.1
- keras 2.1.2
Please read HEAR.