{"id":19056322,"url":"https://github.com/chanmeng666/mnist-handwritten-digit-recognition-project","last_synced_at":"2026-04-02T01:03:09.470Z","repository":{"id":259866876,"uuid":"877064161","full_name":"ChanMeng666/mnist-handwritten-digit-recognition-project","owner":"ChanMeng666","description":"【Sprinkle some star dust on this repo! ⭐️ It's good karma!】A comprehensive implementation and analysis of handwritten digit recognition using multiple neural network architectures on the MNIST dataset. Features basic MLP, optimized feature-selected model, and deep CNN approaches with detailed performance comparisons and visualizations.","archived":false,"fork":false,"pushed_at":"2025-06-28T13:22:48.000Z","size":1053,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-19T01:47:06.113Z","etag":null,"topics":["cnn","computer-vision","data-analysis","data-visualization","deep-learning","feature-analysis","handwritten-digit-recognition","keras","machine-learning","mlp","mnist","model-optimization","neural-networks","python","scikit-learn","tensorflow"],"latest_commit_sha":null,"homepage":"https://github.com/ChanMeng666/MNIST-Handwritten-Digit-Recognition-Project/blob/main/hand-written-digit-recognition_final.ipynb","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChanMeng666.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":"chanmeng66u","thanks_dev":null,"custom":null}},"created_at":"2024-10-23T02:52:35.000Z","updated_at":"2025-06-28T13:22:51.000Z","dependencies_parsed_at":"2024-10-28T14:22:02.796Z","dependency_job_id":"e4a7ca2f-de06-4265-907b-708dddcc2d25","html_url":"https://github.com/ChanMeng666/mnist-handwritten-digit-recognition-project","commit_stats":null,"previous_names":["chanmeng666/mnist-handwritten-digit-recognition-project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ChanMeng666/mnist-handwritten-digit-recognition-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChanMeng666%2Fmnist-handwritten-digit-recognition-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChanMeng666%2Fmnist-handwritten-digit-recognition-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChanMeng666%2Fmnist-handwritten-digit-recognition-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChanMeng666%2Fmnist-handwritten-digit-recognition-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChanMeng666","download_url":"https://codeload.github.com/ChanMeng666/mnist-handwritten-digit-recognition-project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChanMeng666%2Fmnist-handwritten-digit-recognition-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31293631,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cnn","computer-vision","data-analysis","data-visualization","deep-learning","feature-analysis","handwritten-digit-recognition","keras","machine-learning","mlp","mnist","model-optimization","neural-networks","python","scikit-learn","tensorflow"],"created_at":"2024-11-08T23:49:05.116Z","updated_at":"2026-04-02T01:03:09.039Z","avatar_url":"https://github.com/ChanMeng666.png","language":"Jupyter Notebook","funding_links":["https://buymeacoffee.com/chanmeng66u"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n# 🧠 MNIST Neural Network Analysis\u003cbr/\u003e\u003ch3\u003eAdvanced Handwritten Digit Recognition with Deep Learning\u003c/h3\u003e\n\nA comprehensive neural network implementation that leverages cutting-edge deep learning techniques to achieve state-of-the-art handwritten digit recognition.\u003cbr/\u003e\nSupports **multiple model architectures**, **extensive performance analysis**, and **advanced visualization techniques**.\u003cbr/\u003e\nOne-click **FREE** deployment of your digit recognition models.\n\n[Live Demo][demo-link] · [Documentation][docs-link] · [Research Paper][paper-link] · [Issues][github-issues-link]\n\n\u003cbr/\u003e\n\n[![🚀 Visit Live Site 🚀](https://gradient-svg-generator.vercel.app/api/svg?text=%F0%9F%9A%80Visit%20Live%20Site%F0%9F%9A%80\u0026color=000000\u0026height=60\u0026gradientType=radial\u0026duration=6s\u0026color0=ffffff\u0026template=pride-rainbow)][demo-link]\n\n\u003cbr/\u003e\n\n\u003c!-- SHIELD GROUP --\u003e\n\n[![][github-release-shield]][github-release-link]\n[![][github-stars-shield]][github-stars-link]\n[![][github-forks-shield]][github-forks-link]\n[![][github-issues-shield]][github-issues-link]\n[![][github-license-shield]][github-license-link]\u003cbr/\u003e\n[![][python-shield]][python-link]\n[![][tensorflow-shield]][tensorflow-link]\n[![][jupyter-shield]][jupyter-link]\n[![][matplotlib-shield]][matplotlib-link]\n\n**Share This Project**\n\n[![][share-x-shield]][share-x-link]\n[![][share-linkedin-shield]][share-linkedin-link]\n[![][share-reddit-shield]][share-reddit-link]\n\n\u003csup\u003e🌟 Pioneering the future of computer vision and deep learning. Built for researchers and practitioners.\u003c/sup\u003e\n\n## 📸 Project Showcase\n\n\u003e [!TIP]\n\u003e This project demonstrates three distinct neural network architectures with comprehensive performance analysis.\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://via.placeholder.com/800x400/2196F3/FFFFFF?text=MNIST+Dataset+Visualization\" alt=\"MNIST Dataset\" width=\"800\"/\u003e\n  \u003cp\u003e\u003cem\u003eMNIST Handwritten Digits Dataset - 28x28 Grayscale Images\u003c/em\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://via.placeholder.com/400x300/4CAF50/FFFFFF?text=Model+Architecture\" alt=\"Neural Network Architecture\" width=\"400\"/\u003e\n  \u003cimg src=\"https://via.placeholder.com/400x300/FF9800/FFFFFF?text=Performance+Metrics\" alt=\"Performance Analysis\" width=\"400\"/\u003e\n  \u003cp\u003e\u003cem\u003eNeural Network Architectures and Performance Comparison\u003c/em\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003ckbd\u003e📊 More Visualizations\u003c/kbd\u003e\u003c/summary\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://via.placeholder.com/600x400/9C27B0/FFFFFF?text=Training+History\" alt=\"Training History\" width=\"600\"/\u003e\n  \u003cp\u003e\u003cem\u003eTraining Progress and Validation Accuracy\u003c/em\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://via.placeholder.com/600x400/E91E63/FFFFFF?text=Confusion+Matrix\" alt=\"Confusion Matrix\" width=\"600\"/\u003e\n  \u003cp\u003e\u003cem\u003eDetailed Error Analysis and Confusion Matrix\u003c/em\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n\u003c/details\u003e\n\n**Tech Stack Highlights:**\n\n\u003cdiv align=\"center\"\u003e\n\n \u003cimg src=\"https://img.shields.io/badge/python-3670A0?style=for-the-badge\u0026logo=python\u0026logoColor=ffdd54\"/\u003e\n \u003cimg src=\"https://img.shields.io/badge/TensorFlow-%23FF6F00.svg?style=for-the-badge\u0026logo=TensorFlow\u0026logoColor=white\"/\u003e\n \u003cimg src=\"https://img.shields.io/badge/Keras-%23D00000.svg?style=for-the-badge\u0026logo=Keras\u0026logoColor=white\"/\u003e\n \u003cimg src=\"https://img.shields.io/badge/numpy-%23013243.svg?style=for-the-badge\u0026logo=numpy\u0026logoColor=white\"/\u003e\n \u003cimg src=\"https://img.shields.io/badge/pandas-%23150458.svg?style=for-the-badge\u0026logo=pandas\u0026logoColor=white\"/\u003e\n \u003cimg src=\"https://img.shields.io/badge/Matplotlib-%23ffffff.svg?style=for-the-badge\u0026logo=Matplotlib\u0026logoColor=black\"/\u003e\n \u003cimg src=\"https://img.shields.io/badge/scikit--learn-%23F7931E.svg?style=for-the-badge\u0026logo=scikit-learn\u0026logoColor=white\"/\u003e\n\n\u003c/div\u003e\n\n\u003c/div\u003e\n\n\u003e [!IMPORTANT]\n\u003e This project demonstrates modern deep learning practices with **TensorFlow/Keras**. It combines **comprehensive data analysis** with **multiple neural network architectures** to provide **state-of-the-art digit recognition**. Features include **99.71% accuracy**, **advanced visualization**, and **detailed performance analysis**.\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003ckbd\u003e📑 Table of Contents\u003c/kbd\u003e\u003c/summary\u003e\n\n#### TOC\n\n- [🧠 MNIST Neural Network AnalysisAdvanced Handwritten Digit Recognition with Deep Learning](#-mnist-neural-network-analysisadvanced-handwritten-digit-recognition-with-deep-learning)\n  - [📸 Project Showcase](#-project-showcase)\n      - [TOC](#toc)\n      - [](#)\n  - [🌟 Introduction](#-introduction)\n  - [✨ Key Features](#-key-features)\n    - [`1` Multiple Model Architectures](#1-multiple-model-architectures)\n    - [`2` Comprehensive Analysis Suite](#2-comprehensive-analysis-suite)\n    - [`*` Advanced Features](#-advanced-features)\n  - [🛠️ Tech Stack](#️-tech-stack)\n  - [🏗️ Architecture](#️-architecture)\n    - [Neural Network Architectures](#neural-network-architectures)\n    - [Project Structure](#project-structure)\n  - [⚡️ Performance](#️-performance)\n    - [Model Performance Comparison](#model-performance-comparison)\n    - [Key Performance Metrics](#key-performance-metrics)\n  - [🚀 Getting Started](#-getting-started)\n    - [Prerequisites](#prerequisites)\n    - [Quick Installation](#quick-installation)\n    - [Environment Setup](#environment-setup)\n  - [📖 Usage Guide](#-usage-guide)\n    - [Basic Usage](#basic-usage)\n    - [Model Training](#model-training)\n    - [Advanced Configuration](#advanced-configuration)\n  - [🔬 Model Details](#-model-details)\n    - [Basic MLP Model](#basic-mlp-model)\n    - [Optimized Model](#optimized-model)\n    - [Deep CNN Model](#deep-cnn-model)\n  - [📊 Results \\\u0026 Analysis](#-results--analysis)\n    - [Performance Summary](#performance-summary)\n    - [Advanced Analysis Features](#advanced-analysis-features)\n  - [🤝 Contributing](#-contributing)\n    - [Development Process](#development-process)\n    - [Contribution Areas](#contribution-areas)\n  - [📄 License](#-license)\n  - [👥 Author](#-author)\n\n####\n\n\u003cbr/\u003e\n\n\u003c/details\u003e\n\n## 🌟 Introduction\n\nWe are passionate researchers creating next-generation **computer vision** solutions. By adopting modern deep learning practices and cutting-edge neural network architectures, we aim to provide researchers and practitioners with powerful, scalable, and interpretable digit recognition models.\n\nWhether you're a student, researcher, or industry professional, this project will be your **machine learning** playground. Please note that this project demonstrates research-quality implementations with extensive documentation and analysis.\n\n\u003e [!NOTE]\n\u003e - Python 3.7+ required\n\u003e - TensorFlow 2.0+ for deep learning capabilities\n\u003e - Jupyter Notebook for interactive analysis\n\u003e - GPU support optional but recommended for training\n\n| [![][demo-shield-badge]][demo-link] | No installation required! Experience our models through the interactive demo. |\n| :---------------------------------- | :---------------------------------------------------------------------------- |\n\n\u003e [!TIP]\n\u003e **⭐ Star us** to receive all release notifications and stay updated with the latest research!\n\n[![][image-star]][github-stars-link]\n\n## ✨ Key Features\n\n### `1` Multiple Model Architectures\n\nExperience three distinct neural network approaches, each optimized for different use cases. Our comprehensive implementation provides unprecedented **flexibility** and **performance analysis** through advanced **deep learning methodologies**.\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://via.placeholder.com/600x400/1976D2/FFFFFF?text=Neural+Network+Architectures\" alt=\"Model Architectures\" width=\"600\"/\u003e\n  \u003cp\u003e\u003cem\u003eThree distinct model architectures with performance trade-offs\u003c/em\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n**Available Models:**\n- 🧠 **Basic MLP Model**: Simple yet effective multi-layer perceptron\n- ⚡ **Optimized Model**: Feature-selected, resource-efficient implementation  \n- 🚀 **Deep CNN Model**: Advanced convolutional neural network with state-of-the-art accuracy\n\n[![][back-to-top]](#readme-top)\n\n### `2` Comprehensive Analysis Suite\n\nRevolutionary **analysis toolkit** that transforms how researchers understand model behavior. With our advanced visualization algorithms and intuitive metrics, users can **gain deep insights** while maintaining **research-grade accuracy**.\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://via.placeholder.com/300x200/388E3C/FFFFFF?text=Data+Analysis\" alt=\"Data Analysis\" width=\"300\"/\u003e\n  \u003cimg src=\"https://via.placeholder.com/300x200/7B1FA2/FFFFFF?text=Performance+Metrics\" alt=\"Performance Metrics\" width=\"300\"/\u003e\n  \u003cp\u003e\u003cem\u003eComprehensive Analysis - Data Exploration (left) and Performance Metrics (right)\u003c/em\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n**Analysis Features:**\n- **Data Exploration**: Complete MNIST dataset analysis with class distribution\n- **Feature Importance**: Advanced pixel importance visualization and analysis\n- **Performance Metrics**: Detailed accuracy, precision, recall, and F1-score analysis\n\n[![][back-to-top]](#readme-top)\n\n### `*` Advanced Features\n\nBeyond the core models, this project includes:\n\n- [x] 🎯 **99.71% Accuracy**: State-of-the-art digit recognition performance\n- [x] 📊 **Comprehensive Visualization**: Beautiful plots and interactive analysis\n- [x] 🔍 **Sensitivity Analysis**: Advanced model behavior understanding\n- [x] ⚡ **Performance Optimization**: Multiple speed/accuracy trade-off options\n- [x] 📈 **Training Monitoring**: Real-time training progress and validation tracking\n- [x] 🧪 **Error Analysis**: Detailed misclassification investigation\n- [x] 🔬 **Feature Selection**: Advanced dimensionality reduction techniques\n- [x] 📝 **Research Documentation**: Comprehensive methodology and results documentation\n\n\u003e ✨ More features are continuously being added as deep learning research evolves.\n\n\u003cdiv align=\"right\"\u003e\n\n[![][back-to-top]](#readme-top)\n\n\u003c/div\u003e\n\n## 🛠️ Tech Stack\n\n\u003cdiv align=\"center\"\u003e\n  \u003ctable\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"96\"\u003e\n        \u003cimg src=\"https://cdn.simpleicons.org/python\" width=\"48\" height=\"48\" alt=\"Python\" /\u003e\n        \u003cbr\u003ePython 3.7+\n      \u003c/td\u003e\n      \u003ctd align=\"center\" width=\"96\"\u003e\n        \u003cimg src=\"https://cdn.simpleicons.org/tensorflow\" width=\"48\" height=\"48\" alt=\"TensorFlow\" /\u003e\n        \u003cbr\u003eTensorFlow 2.0+\n      \u003c/td\u003e\n      \u003ctd align=\"center\" width=\"96\"\u003e\n        \u003cimg src=\"https://cdn.simpleicons.org/keras\" width=\"48\" height=\"48\" alt=\"Keras\" /\u003e\n        \u003cbr\u003eKeras\n      \u003c/td\u003e\n      \u003ctd align=\"center\" width=\"96\"\u003e\n        \u003cimg src=\"https://cdn.simpleicons.org/numpy\" width=\"48\" height=\"48\" alt=\"NumPy\" /\u003e\n        \u003cbr\u003eNumPy\n      \u003c/td\u003e\n      \u003ctd align=\"center\" width=\"96\"\u003e\n        \u003cimg src=\"https://cdn.simpleicons.org/pandas\" width=\"48\" height=\"48\" alt=\"Pandas\" /\u003e\n        \u003cbr\u003ePandas\n      \u003c/td\u003e\n      \u003ctd align=\"center\" width=\"96\"\u003e\n        \u003cimg src=\"https://cdn.simpleicons.org/jupyter\" width=\"48\" height=\"48\" alt=\"Jupyter\" /\u003e\n        \u003cbr\u003eJupyter\n      \u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/table\u003e\n\u003c/div\u003e\n\n**Core Dependencies:**\n- **Deep Learning**: TensorFlow 2.0+ with Keras API\n- **Data Processing**: NumPy, Pandas for efficient data manipulation\n- **Visualization**: Matplotlib, Seaborn, Plotly for comprehensive plotting\n- **Analysis**: scikit-learn for advanced metrics and feature selection\n- **Environment**: Jupyter Notebook for interactive development\n\n**Development Tools:**\n- **Version Control**: Git with comprehensive commit history\n- **Documentation**: Markdown with detailed analysis\n- **Code Quality**: Clean, well-documented, research-grade implementation\n- **Reproducibility**: Fixed random seeds for consistent results\n\n\u003e [!TIP]\n\u003e Each dependency was carefully selected for research compatibility, performance, and educational value.\n\n## 🏗️ Architecture\n\n### Neural Network Architectures\n\n```mermaid\ngraph TB\n    subgraph \"Input Layer\"\n        A[MNIST 28x28 Images]\n    end\n    \n    subgraph \"Basic MLP Model\"\n        B1[Flatten Layer]\n        B2[Dense 128/256/512]\n        B3[Dropout]\n        B4[Output Layer 10]\n    end\n    \n    subgraph \"Optimized Model\"\n        C1[Feature Selection]\n        C2[Reduced Dimensions]\n        C3[Efficient Dense Layers]\n        C4[Output Layer 10]\n    end\n    \n    subgraph \"Deep CNN Model\"\n        D1[Conv2D Layers]\n        D2[MaxPooling]\n        D3[Batch Normalization]\n        D4[Dense Layers]\n        D5[Output Layer 10]\n    end\n    \n    A --\u003e B1\n    A --\u003e C1\n    A --\u003e D1\n    \n    B1 --\u003e B2 --\u003e B3 --\u003e B4\n    C1 --\u003e C2 --\u003e C3 --\u003e C4\n    D1 --\u003e D2 --\u003e D3 --\u003e D4 --\u003e D5\n```\n\n### Project Structure\n\n```\nmnist-handwritten-digit-recognition-project/\n├── hand-written-digit-recognition_final.ipynb    # Main analysis notebook\n├── hand-written-digit-recognition_final copy.ipynb    # Backup/experimental\n├── README.md                                      # Project documentation\n├── LICENSE                                        # MIT License\n├── CODE_OF_CONDUCT.md                            # Community guidelines\n├── .gitignore                                    # Git ignore rules\n└── .github/                                      # GitHub configurations\n```\n\n## ⚡️ Performance\n\n### Model Performance Comparison\n\n| Model | Accuracy | Prediction Time | Parameters | Use Case |\n|-------|----------|----------------|------------|----------|\n| **Basic MLP** | 99.05% | 0.621s | 407,050 | Balanced performance |\n| **Optimized** | 97.86% | 0.528s | 84,618 | Resource-constrained |\n| **Deep CNN** | **99.71%** | 4.869s | 1,015,530 | Maximum accuracy |\n\n### Key Performance Metrics\n\n**Accuracy Achievements:**\n- 🎯 **99.71%** test accuracy with Deep CNN model\n- 🚀 **99.05%** accuracy with efficient MLP architecture\n- ⚡ **0.528s** fastest prediction time with optimized model\n- 📊 **Comprehensive** error analysis and sensitivity testing\n\n**Model Efficiency:**\n- 💨 **84,618** parameters in optimized model (79% reduction)\n- 🔄 **Real-time** prediction capabilities\n- 📈 **Scalable** architecture for larger datasets\n- 🛡️ **Robust** performance across all digit classes\n\n\u003e [!NOTE]\n\u003e Performance metrics measured on standard MNIST test set with consistent evaluation protocols.\n\n## 🚀 Getting Started\n\n### Prerequisites\n\n\u003e [!IMPORTANT]\n\u003e Ensure you have the following installed:\n\n- Python 3.7+ ([Download](https://python.org/downloads/))\n- pip package manager\n- Git ([Download](https://git-scm.com/))\n- [Optional] GPU drivers for accelerated training\n\n### Quick Installation\n\n**1. Clone Repository**\n\n```bash\ngit clone https://github.com/ChanMeng666/mnist-handwritten-digit-recognition-project.git\ncd mnist-handwritten-digit-recognition-project\n```\n\n**2. Install Dependencies**\n\n```bash\n# Create virtual environment (recommended)\npython -m venv mnist_env\nsource mnist_env/bin/activate  # On Windows: mnist_env\\Scripts\\activate\n\n# Install required packages\npip install tensorflow\u003e=2.0 numpy pandas matplotlib seaborn scikit-learn jupyter plotly\n```\n\n**3. Launch Jupyter Notebook**\n\n```bash\njupyter notebook hand-written-digit-recognition_final.ipynb\n```\n\n🎉 **Success!** The interactive notebook will open in your browser with all models and analysis ready to run.\n\n### Environment Setup\n\nCreate a virtual environment for isolation:\n\n```bash\n# Using conda\nconda create -n mnist python=3.8\nconda activate mnist\nconda install tensorflow numpy pandas matplotlib jupyter\n\n# Using pip\npip install -r requirements.txt  # If requirements.txt exists\n```\n\n\u003e [!TIP]\n\u003e Use GPU acceleration for faster training by installing `tensorflow-gpu` if you have CUDA-compatible hardware.\n\n## 📖 Usage Guide\n\n### Basic Usage\n\n**Getting Started:**\n\n1. **Open Notebook** - Launch the Jupyter notebook\n2. **Run All Cells** - Execute the complete analysis pipeline\n3. **Explore Models** - Compare different architectures\n4. **Analyze Results** - Review comprehensive performance metrics\n\n### Model Training\n\n```python\n# Example: Training the Deep CNN Model\nfrom tensorflow.keras import layers, models\n\nmodel = models.Sequential([\n    layers.Conv2D(32, (3, 3), activation='relu', input_shape=(28, 28, 1)),\n    layers.MaxPooling2D((2, 2)),\n    layers.Conv2D(64, (3, 3), activation='relu'),\n    layers.MaxPooling2D((2, 2)),\n    layers.Flatten(),\n    layers.Dense(64, activation='relu'),\n    layers.Dense(10, activation='softmax')\n])\n\nmodel.compile(\n    optimizer='adam',\n    loss='sparse_categorical_crossentropy',\n    metrics=['accuracy']\n)\n\n# Train the model\nhistory = model.fit(x_train, y_train, \n                   epochs=10, \n                   validation_data=(x_val, y_val))\n```\n\n### Advanced Configuration\n\n**Custom Model Parameters:**\n\n```python\n# Configure training parameters\nconfig = {\n    'batch_size': 32,\n    'epochs': 20,\n    'learning_rate': 0.001,\n    'validation_split': 0.1,\n    'early_stopping_patience': 5\n}\n\n# Feature selection for optimized model\nn_features = 196  # Reduced from 784 original features\n```\n\n## 🔬 Model Details\n\n### Basic MLP Model\n- **Architecture**: Multi-layer perceptron with configurable hidden layers\n- **Features**: 128/256/512 neuron configurations tested\n- **Performance**: 99.05% accuracy, balanced speed/accuracy trade-off\n- **Use Case**: General-purpose digit recognition\n\n### Optimized Model\n- **Architecture**: Feature-selected efficient neural network\n- **Features**: Advanced dimensionality reduction (784 → 196 features)\n- **Performance**: 97.86% accuracy, fastest prediction time\n- **Use Case**: Resource-constrained environments, mobile deployment\n\n### Deep CNN Model\n- **Architecture**: Convolutional Neural Network with multiple layers\n- **Features**: Conv2D, MaxPooling, Batch Normalization, Dense layers\n- **Performance**: 99.71% accuracy, state-of-the-art results\n- **Use Case**: Maximum accuracy applications, research benchmarking\n\n## 📊 Results \u0026 Analysis\n\n### Performance Summary\n\nThe comprehensive analysis reveals distinct trade-offs between model architectures:\n\n**Accuracy Rankings:**\n1. **Deep CNN**: 99.71% - Highest accuracy with computational cost\n2. **Basic MLP**: 99.05% - Excellent balance of performance and efficiency  \n3. **Optimized**: 97.86% - Fastest with good accuracy for constrained environments\n\n**Speed Analysis:**\n- **Optimized Model**: 0.528s (fastest prediction)\n- **Basic MLP**: 0.621s (balanced performance)\n- **Deep CNN**: 4.869s (highest accuracy, slower inference)\n\n**Resource Utilization:**\n- **Optimized**: 84,618 parameters (most efficient)\n- **Basic MLP**: 407,050 parameters (moderate)\n- **Deep CNN**: 1,015,530 parameters (most comprehensive)\n\n### Advanced Analysis Features\n\n**Sensitivity Analysis:**\n- Gradient-based importance mapping\n- Perturbation robustness testing\n- Occlusion sensitivity analysis\n\n**Error Analysis:**\n- Detailed confusion matrix analysis\n- Misclassification pattern identification\n- Class-specific performance metrics\n\n## 🤝 Contributing\n\nWe welcome contributions from the deep learning community! Here's how you can help:\n\n### Development Process\n\n**1. Fork \u0026 Clone:**\n\n```bash\ngit clone https://github.com/ChanMeng666/mnist-handwritten-digit-recognition-project.git\ncd mnist-handwritten-digit-recognition-project\n```\n\n**2. Create Branch:**\n\n```bash\ngit checkout -b feature/improved-architecture\n```\n\n**3. Make Changes:**\n\n- Follow PEP 8 Python style guidelines\n- Add comprehensive documentation\n- Include performance benchmarks\n- Ensure reproducible results\n\n**4. Submit PR:**\n\n- Provide clear description of improvements\n- Include performance comparisons\n- Reference related research papers\n- Ensure all analyses run successfully\n\n### Contribution Areas\n\n**Research Contributions:**\n- 🧠 New neural network architectures\n- 📊 Advanced visualization techniques\n- 🔬 Novel analysis methodologies\n- ⚡ Performance optimization strategies\n\n**Documentation:**\n- 📚 Enhanced explanations and tutorials\n- 🎓 Educational content for beginners\n- 📖 Research methodology documentation\n- 💡 Use case examples and applications\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n**Open Source Benefits:**\n- ✅ Commercial use allowed\n- ✅ Modification and distribution permitted\n- ✅ Private use encouraged\n- ✅ Research and educational use supported\n\n## 👥 Author\n\n\u003cdiv align=\"center\"\u003e\n  \u003ctable\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\"\u003e\n        \u003ca href=\"https://github.com/ChanMeng666\"\u003e\n          \u003cimg src=\"https://github.com/ChanMeng666.png?size=100\" width=\"100px;\" alt=\"Chan Meng\"/\u003e\n          \u003cbr /\u003e\n          \u003csub\u003e\u003cb\u003eChan Meng\u003c/b\u003e\u003c/sub\u003e\n        \u003c/a\u003e\n        \u003cbr /\u003e\n        \u003csmall\u003eDeep Learning Researcher \u0026 Developer\u003c/small\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/table\u003e\n\u003c/div\u003e\n\n**Chan Meng**\n- \u003cimg src=\"https://cdn.simpleicons.org/linkedin/0A66C2\" width=\"16\" height=\"16\"\u003e LinkedIn: [chanmeng666](https://www.linkedin.com/in/chanmeng666/)\n- \u003cimg src=\"https://cdn.simpleicons.org/github/181717\" width=\"16\" height=\"16\"\u003e GitHub: [ChanMeng666](https://github.com/ChanMeng666)\n- \u003cimg src=\"https://cdn.simpleicons.org/gmail/EA4335\" width=\"16\" height=\"16\"\u003e Email: [chanmeng.dev@gmail.com](mailto:chanmeng.dev@gmail.com)\n- \u003cimg src=\"https://cdn.simpleicons.org/internetexplorer/0078D4\" width=\"16\" height=\"16\"\u003e Website: [chanmeng.live](https://2d-portfolio-eta.vercel.app/)\n\n**Contact Information:**\n- 📧 **Email**: [ChanMeng666@outlook.com](mailto:ChanMeng666@outlook.com)\n- 💼 **LinkedIn**: [chanmeng666](https://www.linkedin.com/in/chanmeng666/)\n- 🐦 **GitHub**: [ChanMeng666](https://github.com/ChanMeng666)\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\u003cstrong\u003e🧠 Advancing the Future of Computer Vision 🌟\u003c/strong\u003e\n\u003cbr/\u003e\n\u003cem\u003eEmpowering researchers and practitioners worldwide\u003c/em\u003e\n\u003cbr/\u003e\u003cbr/\u003e\n\n⭐ **Star us on GitHub** • 📖 **Read the Research** • 🐛 **Report Issues** • 💡 **Request Features** • 🤝 **Contribute**\n\n\u003cbr/\u003e\u003cbr/\u003e\n\n**Made with ❤️ by the Deep Learning Community**\n\n\u003cimg src=\"https://img.shields.io/github/stars/ChanMeng666/mnist-handwritten-digit-recognition-project?style=social\" alt=\"GitHub stars\"\u003e\n\u003cimg src=\"https://img.shields.io/github/forks/ChanMeng666/mnist-handwritten-digit-recognition-project?style=social\" alt=\"GitHub forks\"\u003e\n\u003cimg src=\"https://img.shields.io/github/watchers/ChanMeng666/mnist-handwritten-digit-recognition-project?style=social\" alt=\"GitHub watchers\"\u003e\n\n\u003c/div\u003e\n\n---\n\n\u003c!-- LINK DEFINITIONS --\u003e\n\n[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square\n\n\u003c!-- Project Links --\u003e\n[demo-link]: https://github.com/ChanMeng666/mnist-handwritten-digit-recognition-project\n[docs-link]: https://github.com/ChanMeng666/mnist-handwritten-digit-recognition-project\n[paper-link]: https://github.com/ChanMeng666/mnist-handwritten-digit-recognition-project\n\n\u003c!-- GitHub Links --\u003e\n[github-issues-link]: https://github.com/ChanMeng666/mnist-handwritten-digit-recognition-project/issues\n[github-stars-link]: https://github.com/ChanMeng666/mnist-handwritten-digit-recognition-project/stargazers\n[github-forks-link]: https://github.com/ChanMeng666/mnist-handwritten-digit-recognition-project/forks\n[github-release-link]: https://github.com/ChanMeng666/mnist-handwritten-digit-recognition-project/releases\n[github-license-link]: https://github.com/ChanMeng666/mnist-handwritten-digit-recognition-project/blob/main/LICENSE\n\n\u003c!-- Tech Stack Links --\u003e\n[python-link]: https://python.org\n[tensorflow-link]: https://tensorflow.org\n[jupyter-link]: https://jupyter.org\n[matplotlib-link]: https://matplotlib.org\n\n\u003c!-- Shield Badges --\u003e\n[github-release-shield]: https://img.shields.io/github/v/release/ChanMeng666/mnist-handwritten-digit-recognition-project?color=369eff\u0026labelColor=black\u0026logo=github\u0026style=flat-square\n[github-stars-shield]: https://img.shields.io/github/stars/ChanMeng666/mnist-handwritten-digit-recognition-project?color=ffcb47\u0026labelColor=black\u0026style=flat-square\n[github-forks-shield]: https://img.shields.io/github/forks/ChanMeng666/mnist-handwritten-digit-recognition-project?color=8ae8ff\u0026labelColor=black\u0026style=flat-square\n[github-issues-shield]: https://img.shields.io/github/issues/ChanMeng666/mnist-handwritten-digit-recognition-project?color=ff80eb\u0026labelColor=black\u0026style=flat-square\n[github-license-shield]: https://img.shields.io/badge/license-MIT-white?labelColor=black\u0026style=flat-square\n\n[python-shield]: https://img.shields.io/badge/Python-3.7+-blue.svg?style=flat\u0026logo=python\u0026logoColor=white\n[tensorflow-shield]: https://img.shields.io/badge/TensorFlow-2.0+-orange.svg?style=flat\u0026logo=tensorflow\u0026logoColor=white\n[jupyter-shield]: https://img.shields.io/badge/Jupyter-Notebook-orange.svg?style=flat\u0026logo=jupyter\u0026logoColor=white\n[matplotlib-shield]: https://img.shields.io/badge/Matplotlib-Visualization-blue.svg?style=flat\u0026logo=matplotlib\u0026logoColor=white\n\n[demo-shield-badge]: https://img.shields.io/badge/TRY%20DEMO-ONLINE-4CAF50?labelColor=black\u0026logo=jupyter\u0026style=for-the-badge\n\n\u003c!-- Social Share Links --\u003e\n[share-x-link]: https://x.com/intent/tweet?hashtags=deeplearning,machinelearning,mnist\u0026text=Check%20out%20this%20amazing%20MNIST%20neural%20network%20project\u0026url=https%3A%2F%2Fgithub.com%2FChanMeng666%2Fmnist-handwritten-digit-recognition-project\n[share-linkedin-link]: https://linkedin.com/sharing/share-offsite/?url=https://github.com/ChanMeng666/mnist-handwritten-digit-recognition-project\n[share-reddit-link]: https://www.reddit.com/submit?title=MNIST%20Neural%20Network%20Analysis%20Project\u0026url=https%3A%2F%2Fgithub.com%2FChanMeng666%2Fmnist-handwritten-digit-recognition-project\n\n[share-x-shield]: https://img.shields.io/badge/-share%20on%20x-black?labelColor=black\u0026logo=x\u0026logoColor=white\u0026style=flat-square\n[share-linkedin-shield]: https://img.shields.io/badge/-share%20on%20linkedin-black?labelColor=black\u0026logo=linkedin\u0026logoColor=white\u0026style=flat-square\n[share-reddit-shield]: https://img.shields.io/badge/-share%20on%20reddit-black?labelColor=black\u0026logo=reddit\u0026logoColor=white\u0026style=flat-square\n\n\u003c!-- Images --\u003e\n[image-star]: https://via.placeholder.com/800x200/FFD700/000000?text=⭐+Star+Us+on+GitHub+⭐\n\u003c/rewritten_file\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanmeng666%2Fmnist-handwritten-digit-recognition-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchanmeng666%2Fmnist-handwritten-digit-recognition-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanmeng666%2Fmnist-handwritten-digit-recognition-project/lists"}