Handwritten digit classification using the MNIST dataset