• Home
  • Search
  • OPTIMIZING CNN HYPERPARAMETERS FOR ENHANCED HANDWRITTEN DIGIT RECOGNITION ON CUSTOM DATASET: A SYSTEMATIC STUDY
  • https://doi.org/10.71284/asc.2025151Copy DOI Icon

OPTIMIZING CNN HYPERPARAMETERS FOR ENHANCED HANDWRITTEN DIGIT RECOGNITION ON CUSTOM DATASET: A SYSTEMATIC STUDY

  • Sep 1, 2025
  • Md Sohel Rana +4 more
Show More
  • Abstract
  • Literature Map
  • Similar Papers
Abstract

Handwritten Digit Recognition is still an essential issue in artificial intelligence and pattern recognition. Convolutional Neural Networks (CNNs) have shown outstanding accuracy on standardized datasets such as MNIST. Still, overfitting and incorrect hyperparameter tuning can cause CNNs to perform worse when applied to noisy real-world data. For example, handwritten digits taken from realistic Sudoku boards provide variation and noise that are not present in benchmark datasets, making it difficult to generalize CNN models to these datasets. The present study gives a systematic approach to improve handwritten digit recognition on custom datasets by improving CNN hyperparameters. The primary dataset derived from Kaggle’s “Sudoku Digit Classification” comprises 70,000 grayscale images of the digits 1 through 9, including zero representing empty cells. we use 10,000 images for this study, 7000 for training, 1500 for validation, and 1500 for testing. A personal handwritten digit dataset is a custom dataset that has only 2 images per class, and 9 classes represent the real world with small data. It is artificially extended using various kinds of data augmentation techniques, including rotation, scaling, flipping, shear transformation, brightness and contrast correction, and noise addition. Data augmentation increases each class to 100 images. These techniques enhance the model’s performance on unknown data and help it to become more generalizable. Training occurs using an Adam optimizer, a batch size of 32, and an initial learning rate of 0.001. To optimize the model’s performance, these hyperparameters are properly tuned. The Kaggle dataset is used to train, validate, and test the model on unseen data, and the custom unseen dataset is used for testing. The proposed model indicated great potential for accurate handwritten digit recognition with a training accuracy of approximately 95% and a validation accuracy of up to 99% after 30 epochs. Strong generalization over unseen handwritten digits is determined by testing accuracy of 97% on the Sudoku dataset. Testing accuracy on the personal dataset is 94.44%, and testing accuracy on the augmented personal dataset is 77.85%.

Similar Papers
  • Research Article
  • Citations42

Analysis and comparison of machine learning classifiers and deep neural networks techniques for recognition of Farsi handwritten digits

  • Jul 28, 2020
  • The Journal of Supercomputing
  • Y A Nanehkaran +5
  • Research Article
  • Citations3

Handwritten Digit Recognition

  • May 20, 2024
  • International Journal of Innovative Research in Engineering
  • G Oviya +1
  • PDF
  • Research Article
  • Citations17

Handwritten Geez Digit Recognition Using Deep Learning

  • Nov 08, 2022
  • Applied Computational Intelligence and Soft Computing
  • Mukerem Ali Nur +2
  • Research Article

Enhancing Handwritten Digit Recognition Through Convolutional Neural Networks: A Comprehensive Study

  • Jan 01, 2023
  • Journal of Computer Networks and Virtualization
  • Dev Dutt Gowda M J +2
  • Research Article
  • Citations1

Performance Comparison of Convolutional Neural Network and Long Short-Term Memory for the Classification of Handwritten Digits

  • Jan 01, 2025
  • International Journal of Research and Innovation in Applied Science
  • Oluwatobi Joel Toyobo +3
  • Research Article
  • Citations4

Origin of the Higher Difficulty in the Recognition of Vowels Compared to Handwritten Digits in Deep Neural Networks

  • Jan 01, 2019
  • Journal of the Korean Physical Society
  • Hyunjae Kim +4
  • Book Chapter
  • Citations18

Feature Map Reduction in CNN for Handwritten Digit Recognition

  • Sep 12, 2018
  • Sinjan Chakraborty +3
  • Research Article
  • Citations4

A New Knowledge Primitive of Digits Recognition for NAO Robot Using MNIST Dataset and CNN Algorithm for Children’s Visual Learning Enhancement

  • Jan 01, 2023
  • Journal of Information Technology Education: Research
  • Soukaina Gouraguine +4
  • Book Chapter
  • Citations1

Handwritten Digit Recognition Using Very Deep Convolutional Neural Network

  • Jan 01, 2022
  • M Dhilsath Fathima +2
  • Conference Article
  • Citations11

Hybrid convolutional neural networks

  • Jul 01, 2008
  • Iveta Mrazova +1
  • Conference Article
  • Citations33

Retracted: Handwritten Digit Recognition Using CNN

  • Feb 17, 2021
  • Mayank Jain +3
  • Research Article

Handwritten digit classification using neural networks with Tensorflow and Keras

  • Mar 31, 2026
  • Open Access Research Journal of Science and Technology
  • Shubham Dixit +1
  • Book Chapter
  • Citations3

Handwritten Digit Recognition by Deep Learning for Automatic Entering of Academic Transcripts

  • Jan 01, 2020
  • Houssem Eddine Nouri
  • Conference Article
  • Citations3

Influence of Different Convolutional Neural Network Settings on the Performance of MNIST Handwritten Digits Recognition

  • Jun 01, 2020
  • Shifeng Huang
  • PDF
  • Research Article
  • Citations5

Research on Mnist Handwritten Numbers Recognition based on CNN

  • Dec 01, 2021
  • Journal of Physics: Conference Series
  • Yang Gong +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.