PyVerse icon indicating copy to clipboard operation
PyVerse copied to clipboard

Add"Handwritten digit prediction model using Mniset data" under Machine learning section

Open 0-Shimanshu opened this issue 5 months ago β€’ 5 comments

πŸ”’ Project Contribution: Handwritten_Digit_Prediction_Program I would like to contribute my Machine Learning + Web App project titled "Handwritten_Digit_Prediction_Program" under the Deep_Learning, Digit_Recognition, or Web_Integrated_AI section of this repository as part of GirlScript Summer of Code 2025 (GSSoC'25).

πŸ“Œ Project Overview: Handwritten_Digit_Prediction_Program is a deep learning-based project designed to classify handwritten digits (0–9) using a Multilayer Perceptron (MLP). The model is trained on the MNIST dataset, which contains thousands of handwritten digit images, and is capable of predicting digits in real time via a user-friendly web interface. This project demonstrates the application of neural networks for image classification, even without convolutional layers, using only fully connected dense layers and pixel data.

🧠 Model Overview: Framework: Python with TensorFlow/Keras, NumPy, and scikit-learn Architecture: Multilayer Perceptron (Fully Connected Layers) Input: 28x28 grayscale images flattened to 1D vectors Preprocessing: Normalization, grayscale conversion, reshaping Output: 10-class softmax (digits 0 to 9) Optimization: Backpropagation with categorical crossentropy loss Evaluation: Accuracy, precision, recall Confusion matrix for detailed error analysis

🧰 Features: πŸ” Trained models saved in .h5 and .keras formats πŸ“ MNIST data handled from .idx format 🧠 Clean preprocessing and training scripts 🌐 Flask-powered backend (app.py) πŸ–₯️ HTML + CSS + JavaScript frontend for UI 🎯 Real-time image upload and prediction output πŸ“ˆ Performance evaluated using multiple classification metrics

πŸ“¦ Handwritten_Digit_Prediction_Program/ β”œβ”€β”€ DATABASE/ # Raw MNIST dataset (IDX format) β”œβ”€β”€ model/ # Trained MLP models (.h5, .keras) β”œβ”€β”€ static/ # Frontend styling and scripts β”‚ β”œβ”€β”€ style.css β”‚ └── script.js β”œβ”€β”€ templates/ β”‚ └── webpage.html # User input and prediction display β”œβ”€β”€ app.py # Flask app for backend prediction β”œβ”€β”€ .ipynb_checkpoints/ # Jupyter notebook backups β”œβ”€β”€ .idea/ # IDE-specific configs └── README.md # (Can be improved for instructions)

βœ… Deliverables: βœ”οΈ Modular, well-documented Python code βœ”οΈ Trained digit recognition model (MLP) βœ”οΈ Flask web app for real-time predictions βœ”οΈ Frontend interface to upload images and display results βœ”οΈ Performance metrics including confusion matrix βœ”οΈ Inference-ready .h5/.keras model files

πŸ‘¨β€πŸ’» Full Name: Shimanshu Chouhan

πŸŽ“ Participant Role: GSSoC'25 Contributor

0-Shimanshu avatar Jul 30 '25 02:07 0-Shimanshu

πŸ™Œ Thank you for bringing this to our attention! We appreciate your input and will investigate it as soon as possible.

Feel free to join our community on Discord to discuss more!

github-actions[bot] avatar Jul 30 '25 02:07 github-actions[bot]

Hi sir, i wanted to ask you some questions regarding this issue and contribute as well, I cant find you on the GSSoC server.

kashishhMehra avatar Jul 31 '25 01:07 kashishhMehra

@kashishhMehra i have made a post recently in the project forum you can check there and find my id.

UTSAVS26 avatar Jul 31 '25 05:07 UTSAVS26

Okay sir

kashishhMehra avatar Jul 31 '25 14:07 kashishhMehra

Hi sir, sorry i tried but i cannot find your name

kashishhMehra avatar Jul 31 '25 17:07 kashishhMehra