Identifying Handwritten Recognition Using Logistic Regression in Pytorch

Handwritten digit recognition is essential in applications like postal sorting, cheque verification, and document digitization. While convolutional neural networks (CNNs) achieve high accuracy in image classification, their complexity and resource demands limit their use in low-power or transparency-focused environments. This study compares a classical logistic regression model with a CNN for digit classification on the MNIST dataset using PyTorch. The MNIST dataset consists of 60,000 training and 10,000 test grayscale images (28×28 pixels). Logistic regression flattens each image into a 784-dimensional vector and applies a linear classifier optimized with cross entropy loss and stochastic gradient descent. The CNN, on the other hand, uses convolutional layers to automatically extract spatial features for classification. Experimental results show logistic regression achieves over 90% accuracy, demonstrating efficiency and interpretability. Meanwhile, the CNN surpasses 98% accuracy, highlighting the advantage of deep learning for complex feature extraction. This comparison underscores the trade-off between model simplicity and performance. Logistic regression serves as a strong baseline or practical solution when resources and interpretability are priorities, while CNNs offer superior accuracy for more demanding tasks.

Authors

Publication Details

Journal
Indian Journal of Computer Science and Technology
Published
2025-08-28
DOI
https://doi.org/10.59256/indjcst.20250402051
Primary Topic
Handwritten Text Recognition Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Identifying Handwritten Recognition Using Logistic Regression in Pytorch

C. Seldev Christopher, H G Chaithanya, N Thrisha
Indian Journal of Computer Science and Technology
Handwritten Text Recognition Techniques
article

Identifying Handwritten Recognition Using Logistic Regression in Pytorch

C. Seldev Christopher, H G Chaithanya, N Thrisha
article en

Abstract

Handwritten digit recognition is essential in applications like postal sorting, cheque verification, and document digitization. While convolutional neural networks (CNNs) achieve high accuracy in image classification, their complexity and resource demands limit their use in low-power or transparency-focused environments. This study compares a classical logistic regression model with a CNN for digit classification on the MNIST dataset using PyTorch. The MNIST dataset consists of 60,000 training and 10,000 test grayscale images (28×28 pixels). Logistic regression flattens each image into a 784-dimensional vector and applies a linear classifier optimized with cross entropy loss and stochastic gradient descent. The CNN, on the other hand, uses convolutional layers to automatically extract spatial features for classification. Experimental results show logistic regression achieves over 90% accuracy, demonstrating efficiency and interpretability. Meanwhile, the CNN surpasses 98% accuracy, highlighting the advantage of deep learning for complex feature extraction. This comparison underscores the trade-off between model simplicity and performance. Logistic regression serves as a strong baseline or practical solution when resources and interpretability are priorities, while CNNs offer superior accuracy for more demanding tasks.

Indian Journal of Computer Science and Technology
Openalex Percentile: Top 78%
Handwritten Text Recognition Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Identifying Handwritten Recognition Using Logistic Regression in Pytorch — C. Seldev Christopher, H G Chaithanya, et al. · Indian Journal of Computer Science and Technology (2025) | TGRS Research Map | TGRS