Multiclass classification of thalassemia types using complete blood count and HPLC data with machine learning

Muhammad Umar Nasir1,2,3, Muhammad Zubair1, Muhammad Tahir Naseem4

  • 1Faculty of Computing, Riphah International University, Islamabad, Pakistan.

Scientific Reports
|July 21, 2025
PubMed

Mild to severe anemia is caused by thalassemia, a common genetic disorder affecting over 100 countries worldwide, that results from the abnormality of one or several of the four globin genes. This leads to chronic hemolytic anemia and disrupted synthesis of hemoglobin chains, iron overload, and poor erythropoiesis. Although the diagnosis of thalassemia has improved globally along with the treatment and transfusion support, it is still a major problem in diagnosing in high-prevalence areas like Pakistan. This work aims to assess the performance of numerous combinations of machine learning methods to detect alpha and beta-thalassemia in their minor and major types. These results are obtained from CBC and HPLC analysis. The analyzed models are K-nearest Neighbor (KNN), Support Vector Machine (SVM), and Extreme Gradient Boosting (XGBoost). The study aims to examine the effectiveness of the developed models in discriminating thalassemia variants, especially in the light of Pakistani patients' data. The study found that XGBoost achieved the highest performance on both the CBC and HPLC datasets, with training accuracies of roughly 99.5% for CBC and 99.3% for HPLC. The test accuracy across both datasets was consistently high and thus the best model for detecting thalassemia in this research study. The imported SVM model, slightly less accurate than XGBoost, still has strong performance, particularly on the HPLC data where the cumulative testing accuracy of the model stood at 99.4%. As can be seen from the results, XGBoost specifically shows a very high accuracy of above 99% in the detection of thalassemia types using CBC and HPLC data for Pakistani patients. To the author's knowledge, this research is the first to predict alpha and beta-thalassemia in its major and minor forms using these diagnostic reports. These models indicate that they can offer significant support in detecting thalassemia in resource-constrained settings such as Pakistan. If deep learning is incorporated, even greater accuracy could be achieved.

Related Concept Videos

Classification of Leukocytes01:30

Classification of Leukocytes

Leukocytes are classified into two groups based on the presence or absence of cytoplasmic granules. Granular leukocytes, which contain granules, belong to the myeloid lineage and are divided into three subtypes: neutrophils, eosinophils, and basophils. These cells are roughly spherical and characterized by the granules in their cytoplasm.
Neutrophils are the most abundant type of granular leukocytes, comprising 50-70% of all leukocytes. They feature small, evenly distributed granules and a...
2.7K
Multiple Allele Traits01:49

Multiple Allele Traits

The Concept of Multiple Allelism
34.9K
Classification of Titrimetric Analysis Based on Reaction Types01:01

Classification of Titrimetric Analysis Based on Reaction Types

Titrimetric analysis in solution chemistry involves measuring the volume of solutions and is often called volumetric analysis. The standard solution of known concentration in the burette is called the titrant, whereas the solution of unknown concentration in the flask is called the analyte, or titrand. Titrimetric analyses can be classified into four types based on the reactions between the titrant and analyte.
Titrations between an acid and a base lead to neutralization reactions that form...
840
Blood Typing01:10

Blood Typing

Understanding an individual's blood group is a critical component of transfusion medicine. It ensures compatibility in blood transfusions, organ transplants, and even during pregnancy. Determining these blood groups involves the ABO and Rh blood typing systems, utilizing specific antigens and corresponding anti-sera to identify an individual's blood type.
Antigens are protein molecules that reside on the surface of red blood cells (RBCs). The ABO and Rh blood typing systems target...
1.5K
Classification of Skeletal Muscle Fibers01:48

Classification of Skeletal Muscle Fibers

Skeletal muscles continuously produce ATP to provide the energy that enables muscle contractions. Skeletal muscle fibers can be categorized into three types based on differences in their contraction speed and how they produce ATP, as well as physical differences related to these factors. Most human muscles contain all three muscle fiber types, albeit in varying proportions.
Slow-Twitch Muscle Fibers
Slow oxidative, muscle fibers appear red due to large numbers of capillaries and high levels of...
56.9K