Repository navigation
🚀 v1.0.0 Release Notes
We are excited to release v1.0.0 of the Handwritten Digit Recognition project! This release provides a complete, production-ready machine learning pipeline and interactive Jupyter Notebook for classifying handwritten digits using both pixel-intensity and pen-trajectory paradigms.
✨ What's New:
- Jupyter Notebook (
handwritten_digit_recognition.ipynb):- Fully executed with embedded charts, tables, and reports.
- Reproduces Scikit-Learn's
plot_digits_last_image.htmlandplot_digits_classification.html. - Comprehensive Exploratory Data Analysis (EDA) with mean template heatmaps.
- 2D Manifold Learning using PCA and t-SNE projections.
- Multi-model benchmark across 5 classifiers: Support Vector Machine (SVC), MLP Neural Network, KNN, Random Forest, and Logistic Regression.
- Hyperparameter tuning via
GridSearchCVachieving >99% test accuracy. - Detailed diagnostic reports, confusion matrix heatmaps, and misclassification error analysis.
- Interactive digit recognition interface recreating the keypad button selector for digit
4.
- Cross-Paradigm Extension (UCI PenDigits):
- Supports 16-feature pen stroke trajectory coordinate classification on 10,992 samples (
assets/Dataset/). - Achieves 98.26% test accuracy on 14 unseen, writer-independent test subjects.
- Supports 16-feature pen stroke trajectory coordinate classification on 10,992 samples (
- Standalone Pipeline (
main.py):- Command-line runner for model training, evaluation, and image exports with
--image-dirsupport.
- Command-line runner for model training, evaluation, and image exports with
- Organized Artifacts:
- Dedicated
images/directory storing all high-resolution figures. - Serialized model and scaler weights saved to
models/usingjoblib.
- Dedicated
- Community & Open Source Governance:
- MIT License, Contributor Covenant Code of Conduct, and Contributing Guidelines.
Full Changelog: https://github.com/Dharmendra-05/Hand-Digit-Recognition/commits/v1.0.0