This is a modification of the notebook posted by YASSINE GHOUZAM (https://www.kaggle.com/code/yassineghouzam/introduction-to-cnn-keras-0-997-top-6/notebook). Here I used a 5 layers Sequential Convolutional Neural Network for digits recognition trained on the provided dataset from Kaggle (https://www.kaggle.com/competitions/digit-recognizer/data). I built it with Keras from Tensorflow which is very intuitive.
I will prepare the data (handwritten digits images) then i will focus on the CNN modeling and evaluation.
I achieved 99.4% of accuracy with this CNN trained in 15 min on a M1 Macbook Air.