PCA and ANN for QMNIST#

In this project we train a small ANN for handwritten digit recognition. Using PCA for preprocessing allows to reduce the ANN’s size compared to the ANN in ANNs with Keras.

You may reuse code from Load QMNIST and Image Processing with NumPy.

Task: Solve the QMNIST digit recognition task with a layered feedforward ANN and prior PCA feature reduction to 15 features. Try to get at least 90 percent correct classifications on the test set (without using the test set for training, of course).

Solution:

# your solution