Downloads · 30 days
0
paulpall/Beyond_MNIST
Beyond_MNIST is a machine learning model from paulpall. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for keras. The card lists the license as gpl-3.0.
This model is a deep neural network for classifying handwritten digits (0-9) from images. It was a submission for a coursework assignment and is built using Keras.
Downloads · 30 days
0
Access
Public
Updated Mar 14, 2024
Repo size
32.7 MB
Likes
0
Public
Click a slice to open those files.
.h532.7 MB · 100%
From the Hugging Face model README
This model is a deep neural network for classifying handwritten digits (0-9) from images. It was a submission for a coursework assignment and is built using Keras.
This model is designed to classify handwritten digits from the MNIST dataset. It is a basic implementation and can be a starting point for further exploration and improvement.
This model can be used to classify handwritten digits from images. However, it is important to note that its performance may not be optimal and can be further improved.
This model is not intended for real-world applications where high accuracy and robustness are critical. It is for learning purposes and serves as an example for my portfolio.
The model may exhibit bias depending on the training data used. The MNIST and EMNIST dataset might contain inherent biases, and the model might learn these biases. The model might not perform well on unseen data, especially if the handwriting styles differ significantly from the training data. This is a basic implementation and likely has limitations in accuracy and generalizability. It serves as a starting point for further exploration and can be improved by experimenting with different architectures, hyperparameters, and data augmentation techniques.
Users should be aware of the limitations of this model and not rely on it for critical tasks. The model can be a good foundation for further development and experimentation in deep learning for handwritten digit classification.
from tensorflow.keras.models import load_model
import os
model=load_model("Best_Model.h5")
The model is trained on the MNIST and EMNIST dataset, a standard dataset for handwritten digit classification.
The images were preprocessed using data augmentation techniques such as shifting, rotation, resizing and introducing noise.


The datasets used for testing include:
The factors considered in the testing process are the misclassification errors, which indicate the percentage of incorrectly classified samples in each dataset. The metrics used to measure the performance of the models are the percentage of misclassifications for each dataset.
After testing all the models, the misclassification errors for each model are plotted using a bar chart. The range between the best and worst errors is calculated, and the model with the lowest maximum error is identified as the best model.

In summary, my testing approach involves evaluating the models on different datasets, considering misclassification errors as the primary metric, and comparing the performance of the models to determine the best model.
Paul J. Aru