Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Comparative Analysis of Machine Learning and Deep Learning Models for Handwritten Digit Recognition

Author 1: Soukaina Chekki Author 2: Boutaina Hdioud Author 3: Rachid Oulad Haj Thami Author 4: Sanaa El Fkihi
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 16, No. 8 · Published 2025

DOI: 10.14569/IJACSA.2025.0160822

Abstract

Handwritten digit recognition (HDR) forms a key component of computer vision systems, especially in optical character recognition (OCR). This study presents a comparative analysis of Machine Learning (ML) algorithms and Deep Learning (DL) models for HDR tasks. A contour-based segmentation technique was applied in preprocessing to enhance feature extraction by detecting digit boundaries and reducing noise. ML models, including K-Nearest Neighbors (KNN) and Support Vector Machine (SVM), and DL architectures, such as Artificial Neural Networks (ANNs), Convolutional Neural Networks (CNNs), and Recurrent Neural Networks (RNNs), were evaluated on the Modified National Institute of Standards and Technology (MNIST) and the National Institute of Standards and Technology (NIST) datasets. The results demonstrate that DL models significantly outperform ML algorithms in terms of accuracy and robustness, while the KNN model achieved acceptable results. The results underline the importance of contour-based preprocessing in boosting deep learning techniques for HDR.

Keywords

How to Cite this Article

Chekki, S., Hdioud, B., Thami, R. O. H., & Fkihi, S. E. (2025). Comparative Analysis of Machine Learning and Deep Learning Models for Handwritten Digit Recognition. International Journal of Advanced Computer Science and Applications, 16(8). https://doi.org/10.14569/IJACSA.2025.0160822

Chekki, Soukaina, et al.. "Comparative Analysis of Machine Learning and Deep Learning Models for Handwritten Digit Recognition." International Journal of Advanced Computer Science and Applications, vol. 16, no. 8, 2025, https://doi.org/10.14569/IJACSA.2025.0160822.

@article{Chekki2025,
  title     = {Comparative Analysis of Machine Learning and Deep Learning Models for Handwritten Digit Recognition},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {16},
  number    = {8},
  year      = {2025},
  publisher = {The Science and Information Organization},
  author    = {Soukaina Chekki and Boutaina Hdioud and Rachid Oulad Haj Thami and Sanaa El Fkihi},
  doi       = {10.14569/IJACSA.2025.0160822},
  url       = {https://doi.org/10.14569/IJACSA.2025.0160822}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.

Call for Papers - Important Dates

Volume 17 No. 11, November 2026
Paper Submission Due October 25, 2026
Review Notification November 15, 2026
Publication Date November 30, 2026