The experiments can be run from the CNN.py file. Requirements: Tensorflow 2.4.0
The results can be found in the "results" folder. In order to preview the confusion matrix, copy the matrix from the desired .txt file and paste it in the "confmat" variable from the visualize_confusion_matrix.m file in the "results" folder.
The method and code were insipired from the following tutorial: https://machinelearningmastery.com/how-to-develop-a-cnn-from-scratch-for-cifar-10-photo-classification/