Skip to content
Open access

Machine Learning-Based Anemia Prediction: A Comparative Analysis of Random Forest, Lasso, and Ridge Algorithms

Jul 2026 · International Journal for Research in Applied Science and Engineering Technology · Vol 14, pp. 2342-2346 · 0 citations

TL;DR

The proposed machine learning-based anemia prediction system provides a fast, accurate, and user-friendly approach for anemia prediction and demonstrates the effectiveness of ensemble learning techniques in healthcare applications.

Abstract

Anemia is one of the most common hematological disorders affecting millions of people worldwide and is characterized by reduced hemoglobin concentration or insufficient healthy red blood cells. Early diagnosis plays a significant role in preventing severe health complications and improving patient care. Machine Learning (ML) has emerged as an effective approach for developing intelligent clinical decision-support systems capable of analyzing medical data with high accuracy. This paper presents a machine learning-based anemia prediction system using Complete Blood Count (CBC) parameters. Three supervised machine learning algorithms, namely Random Forest, Logistic Regression with L1 (Lasso) regularization, and Logistic Regression with L2 (Ridge) regularization, were implemented and evaluated using the same dataset and preprocessing pipeline. The proposed model utilizes five important hematological parameters: Gender, Hemoglobin (Hb), Mean Corpuscular Hemoglobin (MCH), Mean Corpuscular Hemoglobin Concentration (MCHC), and Mean Corpuscular Volume (MCV) for predicting whether a patient is likely to have anemia. A graphical user interface (GUI) developed using Python Tkinter enables users to enter patient blood parameters and receive immediate prediction results. Experimental evaluation was performed using Accuracy, Precision, Recall, and F1-Score. Among the evaluated algorithms, the Random Forest classifier achieved the highest accuracy of 100.00%, outperforming Lasso (99.30%) and Ridge (98.95%). Based on the comparative study, Random Forest was selected as the final deployment model. The proposed system provides a fast, accurate, and user-friendly approach for anemia prediction and demonstrates the effectiveness of ensemble learning techniques in healthcare applications.

Read PDF

Similar papers

Open access Aug 2026

COMPARISON OF GAUSSIAN NAIVE BAYES AND RANDOM FOREST FOR ANEMIA CLASSIFICATION USING HEMATOLOGICAL PARAMETERS

Anemia is a global health problem affecting approximately 1.92 billion people, or 24% of the population, according to the WHO. Accurate early detection is crucial for data-driven healthcare. This study evaluates two machine learning algorithms, Gaussian Naive Bayes (GNB) and Random Forest (RF). The classification is ba...

Baik Budi, Refki Budiman, Queen Hesti Ramadhamy · 0 citations
Open access Sep 2026

Development of a machine-learning model for predicting arterial hypertension based on complete blood count parameters

Objective: development and evaluation of a machine learning model for predicting arterial hypertension using demographic characteristics and complete blood count parameters, and to assess the contribution of key predictors using interpretable methods. Materials and methods: we analyzed a dataset of 5,506 patients...

S. A. Zakharchuk, N. Mironov, A. G. Plisyuk et al. · 0 citations
Open access Sep 2026

Machine learning with SMOTE-NC on routine hematology parameters for early identification of Hb E trait

Background: The hemoglobin E (Hb E) trait, which is highly prevalent in Southeast Asia and may co-occur with α-thalassemia, often exhibits heterogeneous complete blood count profiles; notably, some individuals with the Hb E trait have near-normal MCV and MCH values, increasing the risk of misclassification during routi...

Chollanot Kaset, Tanita Rerkchalerm, Tanatorn Tanantong et al. · 0 citations
Open access Sep 2026

Tree-Based Machine Learning for Diagnostic Classification of Dengue Fever Using Routine Hematological Parameters: A Secondary Analysis of a Publicly Available Dataset

Tree-based machine-learning models for dengue classification showed moderate discrimination, with high sensitivity but limited specificity, and yielded numerically higher AUROCs and lower Brier scores than the primary SMOTE-trained LR within this internal-validation framework.

Z. Yilmaz, Z. Kucukakcali, Sami Akbulut · 0 citations
Open access Aug 2026

Machine Learning-Based Early Cardiovascular Disease Prediction: A Comparative Analysis of Supervised Learning Algorithms Using a Pakistani Clinical Dataset

The results confirm the effectiveness of ensemble learning approaches for medical diagnostics and highlight the potential of implementing ML-based screening tools in the limited resource healthcare environment in Pakistan.

Awais Khursheed, Soban Ahmed, Sibghat Ullah et al. · 0 citations
Open access Sep 2026

Thalassemia Screening Based on Hematological Data Using Random Forest and Support Vector Machine Models: A Preliminary Study

Thalassemia is a hereditary blood disorder caused by impaired globin chain synthesis and represents a public health concern due to increasing incidence and mortality. Screening comprises three levels: hematological examination (Level 1), hemoglobin analysis (Level 2), and molecular genetic testing (Level 3). When Level...

M. Mardiah, Azhari, Rarastoeti Pratiwi et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.