Next Article in Journal
Evolutionary Game Analysis of Behavior Strategies of Multiple Stakeholders in an Elderly Care Service System
Next Article in Special Issue
Integrating Structured and Unstructured EHR Data for Predicting Mortality by Machine Learning and Latent Dirichlet Allocation Method
Previous Article in Journal
Integrative Study on Flow Characteristics and Impact of Non-Submerged Double Spur Dikes on the River System
Previous Article in Special Issue
Clinical Decision Support Systems to Predict Drug–Drug Interaction Using Multilabel Long Short-Term Memory with an Autoencoder
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Comprehensible Machine-Learning-Based Models for the Pre-Emptive Diagnosis of Multiple Sclerosis Using Clinical Data: A Retrospective Study in the Eastern Province of Saudi Arabia

1
College of Computer Science and Information Technology, Imam Abdulrahman Bin Faisal University, P.O. Box 1982, Dammam 31441, Saudi Arabia
2
Department of Computer Science, Kettering University, Flint, MI 48504, USA
*
Author to whom correspondence should be addressed.
Int. J. Environ. Res. Public Health 2023, 20(5), 4261; https://doi.org/10.3390/ijerph20054261
Submission received: 27 January 2023 / Revised: 22 February 2023 / Accepted: 24 February 2023 / Published: 27 February 2023
(This article belongs to the Special Issue Applications of Artificial Intelligence to Health)

Abstract

:
Multiple Sclerosis (MS) is characterized by chronic deterioration of the nervous system, mainly the brain and the spinal cord. An individual with MS develops the condition when the immune system begins attacking nerve fibers and the myelin sheathing that covers them, affecting the communication between the brain and the rest of the body and eventually causing permanent damage to the nerve. Patients with MS (pwMS) might experience different symptoms depending on which nerve was damaged and how much damage it has sustained. Currently, there is no cure for MS; however, there are clinical guidelines that help control the disease and its accompanying symptoms. Additionally, no specific laboratory biomarker can precisely identify the presence of MS, leaving specialists with a differential diagnosis that relies on ruling out other possible diseases with similar symptoms. Since the emergence of Machine Learning (ML) in the healthcare industry, it has become an effective tool for uncovering hidden patterns that aid in diagnosing several ailments. Several studies have been conducted to diagnose MS using ML and Deep Learning (DL) models trained using MRI images, achieving promising results. However, complex and expensive diagnostic tools are needed to collect and examine imaging data. Thus, the intention of this study is to implement a cost-effective, clinical data-driven model that is capable of diagnosing pwMS. The dataset was obtained from King Fahad Specialty Hospital (KFSH) in Dammam, Saudi Arabia. Several ML algorithms were compared, namely Support Vector Machine (SVM), Decision Tree (DT), Logistic Regression (LR), Random Forest (RF), Extreme Gradient Boosting (XGBoost), Adaptive Boosting (AdaBoost), and Extra Trees (ET). The results indicated that the ET model outpaced the rest with an accuracy of 94.74%, recall of 97.26%, and precision of 94.67%.

1. Introduction

Chronic diseases are generally identified as illnesses that tend to last over a long period, requiring continuing medical attention and causing limitations and disabilities [1]. According to the World Health Organization (WHO), 41 million people die of chronic diseases yearly [1]. Chronic diseases are not just inherited but are also caused by exposures throughout life [2]. Many chronic diseases have been related to lifestyle habits, such as smoking, consuming unhealthy foods, and not being physically active [3]. Even though an early diagnosis is crucial in managing chronic diseases, they often exhibit no symptoms in their early stages, necessitating the emergence of the latest technologies contributing to the pre-emptive diagnosis of these diseases.
Several chronic diseases, including Multiple Sclerosis (MS), are prevalent in Saudi Arabia. MS affects approximately 2.8 million individuals worldwide. Since 2013, the prevalence of MS has increased [4]. According to Al Jumah et al. [5], the prevalence of MS in Saudi Arabia was greater in the central region and lower in the southern region. Moreover, 40.40 per 100,000 of all populations and 61.95 per 100,000 Saudi citizens were diagnosed with MS. Females were also shown to be more likely than males to develop MS at a ratio of 2:1, and young, educated individuals are more likely to be affected in various Saudi Arabian regions [5].
MS is a lifelong chronic inflammatory demyelination illness that can damage the spinal cord (central nervous system) and the brain, causing the immune system to attack the myelin that protects nerve fibers. MS causes miscommunication between the brain and the rest of the body, leading to major disability [6]. Many potential symptoms that vary from one patient with MS (pwMS) to another are experienced, such as cognitive deficiencies, weakness, sensory impairment, visual loss, dizziness, and spasticity [7]. Since MS affects everyone differently, there is presently no reliable approach to anticipate how the condition will progress in a particular pwMS. In addition, some pwMS may appear healthy for years after the diagnosis, while others may advance more swiftly. Furthermore, it is currently not known whether MS can be cured. However, it has been found that disease-modifying medications help to manage symptoms and stop the course of the disease [8]. Therefore, screening for MS before symptoms develop and following early treatment plans are crucial to improving the patient’s quality of life [9].
As disease-modifying medications help in the symptomatic treatment and disease progression, an accurate and reliable MS diagnosis is essential for enabling pre-emptive therapies for the disease [10]. In addition to ruling out any other conditions that might resemble MS clinically or radiologically, MS is diagnosed by having central nervous system lesions that are distinct from one another in both time and space [11]. For the disease’s diagnosis, there is no specific laboratory test that can precisely identify the disease. Considering this, the most recent McDonald diagnostic criteria for MS, released in 2017, encompass clinical assessment, imaging, and laboratory data [12]. Nowadays, Magnetic Resonance Imaging (MRI) is the most effective technique for diagnosing MS, as well as tracking the disease’s progression and testing treatment effectiveness. However, utilizing MRI to diagnose MS is expensive, time-consuming, and prone to human errors [13].
Machine Learning (ML) is a branch of computer science that focuses on the theory of pattern recognition and computational learning. The implementation of algorithms takes place through the process of learning from data and making predictions using unseen data. The growing capabilities of ML facilitated the process of identifying patterns not visible to humans using the massive medical data available. Therefore, several studies were conducted to diagnose MS using ML and DL algorithms. However, most studies focused on diagnosing MS using imaging datasets, and only some used clinical data, which added extra workload associated with data collection and the challenge of using complexly constructed models. Therefore, by using the latest technologies, this study aims to overcome the limitations of previous work by utilizing simple clinical data to detect pwMS pre-emptively.
This study’s dataset was obtained from King Fahad Specialist Hospital (KFSH) in Dammam, Saudi Arabia. It contains clinical data records of 569 patients (365 pwMS and 205 without MS). Various ML algorithms were utilized, including Support Vector Machine (SVM), Decision Tree (DT), Logistic Regression (LR), Random Forest (RF), Extreme Gradient Boosting (XGBoost), Adaptive Boosting (AdaBoost), and Extra Tree (ET). The results showed that ET attained the highest accuracy of 94.74% with 11 features only. To better understand how an AI model reaches decisions, researchers have developed Explainable Artificial Intelligence (XAI). In this approach, ML models are modified to generate explainable models, enabling the end users to confidently manage, comprehend, and trust emerging AI systems [14]. Shapley Additive Explanation (SHAP) and Local Interpretable Model-Agnostic Explanations (LIME) were used in this study to explain the outperforming model’s findings.
This paper is divided into the following sections. Section 2 comprises a thorough literature review. Section 3 details the materials and methods used, including the dataset description, statistical analysis, a description of the employed ML algorithms, the performance measures used to assess the developed models, and finally, the optimization strategy chosen. The findings and the feature selection method utilized are also explained in Section 4, and the results of the models employing XAI approaches are described in Section 5. Finally, the conclusions and future work are discussed in Section 6.

Study Objectives

Aiding medical personnel in pre-emptively screening and treating MS can help slow the disease’s progression. This study aimed to develop a valuable tool for predicting MS that can be deployed in local hospitals. The following is a synopsis of the study’s contributions:
  • Developed the first clinically applicable and cost-effective ML model to screen MS pre-emptively in Saudi Arabia.
  • Utilized the SelectKBest technique based on the chi-squared test to reduce the number of features needed to produce accurate results.
  • Compared and evaluated the diagnostic performance of simple and ensemble classifiers.
  • Applied Explainable Artificial Intelligence (XAI) techniques to assist medical professionals in comprehending how features affect the top-performing ML model in this study.

2. Literature Review

Based on clinical information and Retinal Nerve Fiber Layer (RNFL) thickness determined by Optical Coherence Tomography (OCT), a study [15] was conducted to diagnose MS better and forecast the long-term course of impairment in pwMS. The dataset was obtained from Miguel Servet University Hospital, which includes 212 records (104 healthy individuals and 108 pwMS). The ML algorithms used were Multiple Linear Regression (MLR), SVM, DT, Naive Bayes (NB), Long Short-Term Memory (LSTM), K-Nearest Neighbors (KNN), and an Ensemble Classifier (EC). The results demonstrated that the EC attained an accuracy of 87.7%, a sensitivity of 87%, a precision of 88.7%, a specificity of 88.5%, and an Area Under the Curve (AUC) of 0.8775. As for forecasting the long-term impairment course in pwMS, LSTM achieved the highest accuracy of 81.7%, sensitivity of 81.1%, precision of 78.9%, specificity of 82.2%, and AUC of 0.8165.
Using the same techniques, a recent study [16] used RNFL thickness measured by OCT to diagnose MS. Only 102 records were obtained in this study from the hospital mentioned above (30 healthy individuals and 72 pwMS) using three different Spectralis OCT protocols to perform structural assessments of RNFL thickness. The macular RNFL was measured using the fast macular thickness protocol, whereas the peripapillary RNFL was measured using both fast RNF and fast RNFL-N thickness protocols. The fast macular thickness protocol with KNN was the best acquisition procedure for MS diagnosis, achieving an accuracy of 95.8%, sensitivity of 94.4%, precision of 97.1%, specificity of 97.2%, and an AUC of 0.958. Furthermore, DT performed best for MS prognosis with an accuracy of 91.3%, a sensitivity of 90%, a precision of 92.3%, a specificity of 92.5%, and an AUC of 0.913 for the fast macular thickness protocol, and SVM for fast RNFL-N thickness protocol with an accuracy of 91.3%, a sensitivity of 87.5%, a precision of 94.6%, a specificity of 95%, and an AUC of 0.913.
Similarly, the study [17] used the dataset mentioned above from Miguel Servet University Hospital, consisting of 260 records (180 healthy individuals and 80 pwMS). The authors in this study aimed to use different ML techniques to compare axonal loss in ganglion cells observed by means of the Swept-Source OCT (SS-OCT). Three ML classifiers were used and evaluated, including DT, Multilayer Perceptron, and SVM. The DT classifier obtained the best results, with an accuracy of 97.24% and an AUC of 0.995, using RNFL data in the macular area. Consequently, the authors concluded that SS-OCT provides excellent differentiation between healthy controls and MS patients based on measurements of RNFL thickness.
Likewise, the authors in [18] obtained 96 records (48 pwMS and 48 healthy individuals) from the same hospital to use SS-OCT to diagnose MS earlier. The proposed Feed-Forward Neural Network (FFNN) classifier achieved promising results with an accuracy of 97.9%, a sensitivity of 98%, and a specificity of 98%.
By analyzing exhaled breath, the authors of [19] aimed to diagnose MS using an electronic nose (eNose). A diagnostic test tool called eNose (Aeonose) can identify volatile organic component patterns in exhaled breath. The authors tested Aeonose’s ability to distinguish between the breath patterns of pwMS and healthy people. The dataset included 253 case controls (124 pwMS and 129 healthy individuals) who each breathed into the Aeonose for five minutes. The data from exhaled air were used to construct a predictive model using an Artificial Neural Network (ANN). With a subgroup of pwMS who had not been prescribed any medication for their MS, the authors developed a second predictive model to examine the impact of drug use. With a sensitivity of 75% and a specificity of 60%, the ANN model built using the entire dataset was able to discriminate pwMS from healthy individuals. The sensitivity and specificity of the model developed using the subgroup of pwMS not taking medication and the healthy control participants were 93% and 74%, respectively.
The authors in [20] trained a Convolutional Neural Network (CNN) using brain MRI to distinguish between MS and its imitators. The CNN model achieved an accuracy of 98.8% using a total of 268 T1 and T2 weighted brain MRI scans.
More recently, the authors in [21] used CNN to predict the progression of the disease using brain MRI. The data of 373 pwMS were collected from the Italian Neuroimaging Network Initiative (INNI) repository. CNN was used to predict clinical worsening, cognitive deterioration, or both. The results showed that the clinical and cognitive worsening achieved an accuracy of 83.3% and 67.7%, respectively. On the other hand, when the system was trained using both clinical and cognitive data, it achieved 85.7% accuracy.
Furthermore, the study [22] aimed to detect MS using MRI. The dataset contains 130 brain MRI scans (30 pwMS and 100 healthy individuals). The authors used transfer learning to train the model by using SoftMax as an activation function to classify disease development. By using CNN, the model achieved an accuracy of 98.24%, specificity of 95.45%, and sensitivity of 100%.
Furthermore, the authors in [23] presented an approach that combines CNN and the two-dimensional discrete Haar wavelet transform to identify pwMS using MRI scans. The University of Cyprus’ Laboratory of eHealth provided the dataset for this study, consisting of 58 records (38 pwMS and 20 healthy individuals). The experiments on the image data attained an accuracy of 99.05%, precision of 98.43%, and sensitivity of 99.14%.
A review of the literature on the early prediction of MS revealed that most previous studies focused on diagnosing MS using imaging datasets, whereas few used clinical data. Additionally, it has been found that relatively small datasets were explored in previous studies. Therefore, this study aims to build an ML model using simple clinical features that could predict MS accurately with the least amount of workload and computation. In addition, the work provides medical specialists with a rationale for trusting the prediction using XAI techniques. Consequently, local hospitals with low incomes gain from deploying the pre-emptive diagnosis model.

3. Materials and Methods

This study developed a pre-emptive model for diagnosing MS using Python programming language. A fixed seed value of 0 was set throughout all operations. Before modeling, the dataset was subjected to various pre-processing techniques, as shown in Figure 1. The SelectKBest technique with the chi-squared test and k = 11 was used to extract the best features. Additionally, the dataset was split into stratified proportions, where 80% of the data were reserved for training and were further validated using stratified 10-fold cross-validation, whereas the rest were used for testing the proposed models. The min–max scaler was then fitted to the training set and transformed into the testing set. Furthermore, seven ML algorithms were trained with the selected 11 features: SVM, DT, LR, RF, XGBoost, AdaBoost, and ET. GridSearchCV was then used with stratified 10-fold cross-validation to optimize the hyperparameters of the models using the training set. The models were assessed using a variety of performance metrics, including accuracy, precision, recall, F1-score, and AUC). Subsequently, the best model was interpreted using SHAP and LIME techniques. The process used to build the prediction models is summarized in Figure 1.

3.1. Data Description

The dataset used in this study was obtained from KFSH in Dammam, Saudi Arabia. The dataset includes records of 570 patients (365 pwMS and 205 healthy), with 44 demographical features and laboratory biomarkers. Table 1 demonstrates the features’ names and types. After applying the SelectKbest approach, 11 features remained, namely age, ALT (dimension), LDH, creatinine, blood urea nitrogen, total bilirubin, gamma glutamyl transferase, alkaline phosphatase, AST, platelet, and BP—systolic.

3.2. Statistical Analysis

In this section, statistical analysis was carried out to understand the data and the underlying patterns. Statistical analysis aids in determining the pre-processing methods that should be used to prepare the data for modeling. The data used in this study consisted of numerical features and only one categorical feature. The numerical attributes of the data were analyzed using well-known statistical metrics. The numerical properties of the data and their accompanying statistical breakdown are shown in Table 2. As the table demonstrated, the big difference between the 75th quartile and the maximum values indicates the presence of outliers and skewness in some features. Moreover, Figure 2 displays the value count of the gender attribute after removing the duplicates in the pre-processing stage.

3.3. Data Pre-Processing

One of the crucial processes in converting raw data into valuable data for training is data pre-processing. The Python Sklearn and Pandas packages were used in the current study to perform several pre-processing techniques. Initially, the dataset included 177 features and 570 records, most of which contained null values; thus, features with 300 null values were dropped, and any duplicated row was eliminated using the Pandas duplicate() method. Consequently, only 44 features and 569 instances remained. Furthermore, categorical data were transformed into a numerical format before training and evaluating models using the Sklearn LabelEncoder() method [24].
Missing values significantly influence the inferences drawn from the dataset. Therefore, it can result in several complications, including a decrease in statistical power, inaccurate parameter estimates, and difficulties with data processing. Different imputation strategies were used for missing values based on the types of attributes. In this study, the numerical null values were imputed by checking the STD to observe how the data are distributed. Whenever the STD is high, the data are more skewed; therefore, the null values are filled using the median, as shown in Equation (1), where n refers to the total number of observations.
Median = ( n + 1 ) 2
In contrast, if the STD was low, the forward-filling and the mean imputation techniques were utilized. The forward-filling method states that the nearest value before the targeted point will be utilized if the value is null. Besides the forward-filling requirement, the resampling procedure allows a maximum of one usage of each value. The subsequent missing values will be marked as missing if the closest preceding value has already been utilized once for resampling. Hence, the mean was used to impute the remaining null values, as shown in Equation (2), where n represents the total number of values in a column and X represents a single data point [25].
Mean   =   X n
Next, a univariate feature selection method called Select K-Best (SelectKBest) was used. Utilizing a variety of univariate statistical tests, it chooses the K-best features from the feature set. This study selected the top 11 features using the chi-square test. Only positive features can be used in the test; hence, each non-negative and target feature receives a score from the algorithm. Pairs of expected and observed frequencies can be used to determine the score using Equation (3).
x 2 = i = 1 n ( O F i E F i ) 2 E F i
where O F i is the frequency that was observed for the feature F’s i-th value, and E F i is the frequency anticipated for feature F’s i-th value [26].
Following pre-processing, the dataset was split into two stratified sets: 80% for training and validation and 20% for testing. The values were then scaled between 0 and 1 using the min–max scaler, which has been fitted to the training set and transformed to the testing set using Equation (4).
MinMaxScaler   ( v i ) = x i m i n A m a x A m i n A ( n e w _ m a x A n e w _ m i n A ) + n e w _ m i n A
where x i represents the ith value, m a x A and m i n A denote a feature’s maximum and minimum values, and n e w _ m a x A and n e w _ m i n A are the values 0 and 1, respectively.

3.4. Description of Utilized Machine Learning Algorithms

3.4.1. Support Vector Machine (SVM)

In 1990, Cortes and Vapnik proposed Support Vector Machine (SVM). Since then, its popularity has increased among the ML community [27]. SVM is a supervised learning algorithm that provides solutions to classification and regression problems, mainly used in binary classification problems [28]. In classification, a hyperplane is located in feature space by SVM to separate different classes [29]. The training points are mapped onto the feature space and separated by a maximum margin between classes. In the same space, the testing data points are then mapped and categorized according to which side of the margin they fall.

3.4.2. Decision Tree (DT)

DTs are supervised ML classifiers that may be thought of as rule-based classifiers. Using a training set, DT develops a set of binary rules that can properly identify the majority of training set samples [30]. Thus, given a sample, DT evaluates whether multiple rules are met and produces a result. DT is straightforward and beneficial for interpretation. However, in terms of generalization, they are often not competitive with more sophisticated supervised learning algorithms and can quickly overfit if no limitations on the highest number of rules are applied [30].

3.4.3. Logistic Regression (LR)

In 1958, David Cox developed LR, an ML approach based on supervised learning and statistical analysis. It is known as a log transformation of linear regression. However, unlike linear regression, it is only used for classification [31]. LR is robust and fast in predicting discrete categorical target classes [32]. Furthermore, its simplicity allows it to rapidly reach a high level of performance. Depending on the dataset, the fundamental purpose of LR is to establish linear and noncomplex decision boundaries across classes.

3.4.4. Random Forest (RF)

In 2001, Leo Breiman proposed RF while introducing the concept of bagging, also known as “bootstrap aggregation” [33]. The RF classifier comprises several DTs representing various subjects from the dataset. Instead of depending exclusively on one DT, RF uses the majority vote predictions from each tree to anticipate the outcome, increasing the predictive accuracy [34].

3.4.5. Extra Trees (ET)

ET is an ensemble ML classifier that Mingers first familiarized in 1989 [35]. The idea behind ET is to use several small decision trees, each of which is a weak learner on its own. ETs are comparable to other tree-based ensemble techniques, such as RF; however, unlike RFs, all the trees in an ET are trained using the same training set. Additionally, while RF simply splits a node based on variable value, ETs split a node based on both variable indexing and variable splitting values. Because of this, ETs are both generalizable and more computationally efficient than RFs [36].

3.4.6. Extreme Gradient Boosting (XGBoost)

XGBoost is a model that was initially introduced by Carlos Guestrin and Tianqi Chen in 2011 and has since been continuously optimized to be used with modern data science tools and challenges [37]. XGBoost is a boosting tree-based learning framework with a high degree of expansion and versatility. It combines several models to create a robust model [37]. The most well-known benefits of XGBoost include its high scalability and parallelizability, speed of execution, and ability to frequently outperform competing algorithms. Additionally, it controls over-fitting using a more regularized model formalization, which enhances performance [38].

3.4.7. Adaptive Boosting (AdaBoost)

The first genuinely effective boosting algorithm, known as Adaptive Boosting (AdaBoost), was introduced by Freund and Schapire for binary classification. It is a meta-algorithm that can enhance the performance of numerous other learning algorithms by pairing up with them [39]. AdaBoost is adaptive in the sense that cases that were incorrectly identified by earlier classifiers are considered while creating new classifiers. In other terms, the fundamental principle behind AdaBoost is to call a weak classifier repeatedly while modifying the weights given to the samples for each call [40].

3.5. Performance Measure

In this study, the models’ performance was assessed using a variety of performance metrics, including accuracy, precision, recall, F1-score, and AUC. In order to further assess the models, confusion matrices were used, which include True Negative (TN), True Positive (TP), False Negative (FN), and False Positive (FP), where:
  • TN indicates patients who were correctly identified as non-MS patients.
  • TP indicates patients who were correctly identified as pwMS.
  • FN indicates patients who were incorrectly identified as non-MS patients.
  • FP indicates patients who were incorrectly identified as pwMS.
Accuracy is the ratio of correctly identified MS and non-MS patients over the total number of patients in the dataset. It is mathematically represented in Equation (5).
Accuracy = Correctly   identified   MS   and   non MS   patients Total   number   of   patients   in   the   dataset
Precision is the ratio of correctly identified positive instances across all predicted positive instances. It is mathematically represented in Equation (6).
Precision = Correctly   identified   MS   patients   Total   number   of   predicted   postive   instances
Recall is the ratio of correctly identified positive instances to all the positive instances in the actual class. It is mathematically represented in Equation (7).
Recall = Correctly   identified   MS   patients   All   the   positive   instances   in   the   actual   classt
Correspondingly, the F1-score is the weighted average of recall and precision. It is mathematically represented in Equation (8).
F 1 Score = 2 × ( Precision × Recall ) Precision + Recall
The AUC measures a classifier’s ability to distinguish between classes, as stated in Equation (9), where n 1 and n 0   are the numbers of negative and positive observations, respectively, and r i   in S 0 = Σ r i   denotes the degree of the ith positive observation.
AUC = S 0 n 0 ( n 0 + 1 ) / 2 n 0 n 1

3.6. Optimization Strategy

The hyperparameters of ML models are essential factors impacting the model performance. Setting an appropriate value for these hyperparameters can considerably enhance the model performance. The GridSearchCV technique was utilized to build models that are capable of providing accurate solutions to these problems. GridSearchCV was used in this study to find the best hyperparameters in a search space that included a range of values. It generates all possible combinations of hyperparameter values to determine the best combination using the training set. Stratified 10-fold cross-validation was used to validate the model performance. The optimal hyperparameters generated by the GridSearchCV for each algorithm are outlined in Table 3. Moreover, the hyperparameters used in the grid are outlined in the Supplementary File.

4. Empirical Results

In accordance with the described performance indicators, Table 4 assesses the developed models using the ideal hyperparameters and features subset produced by the GridSearchCV and SelectKBest techniques, respectively. Overall, the results reveal that neither overfitting nor underfitting affected the model due to the low difference between training and testing accuracy. Furthermore, the ET classifier outperformed other algorithms with an accuracy of 94.74%, a precision of 94.67%, a recall of 97.26%, and an F1-score of 95.95%. Following that, XGBoost achieved an accuracy of 93.86%, a precision of 94.59%, a recall of 95.89%, and an F1-score of 95.24%. Algorithms including SVM, LR, and RF achieved identical accuracies after implementing GridsearchCV. RF, however, performed differently in terms of precision and recall. On the other hand, DT and AdaBoost achieved the lowest performance measures after optimization with an accuracy of 92.11%, a precision of 93.24%, a recall of 94.52%, and an F1-score of 93.88%. Figure 3 displays the confusion matrices for optimized selected models.
Figure 3 reveals that the ET model, which achieved the fewest FNs (two), is the best algorithm for predicting unwanted occurrences of the targeted disease, followed by the RF and XGBoost models, which failed to classify three cases of MS. Meanwhile, ET, XGBoost, LR, and SVM achieved the lowest rates of FP. Misdiagnosis of MS may occur due to pressure to deliver a timely diagnosis, as several alternative diagnoses may mimic MS, such as functional neurologic disorders, migraines, and arterial disease [41]. The misdiagnosis of MS could lead to serious repercussions, including losing the chance for early treatment and possibly accelerating the course of the condition. Moreover, the risk of prolonged, unnecessary healthcare hazards and death is often attributed to misdiagnosed MS patients [42]. To determine the best-performing model, the lowest FN and FP values must be achieved. Therefore, it is concluded that the ET outperforms all other models for the pre-emptive diagnosis of MS.
Figure 4 illustrates the Receiver Operating Characteristics (ROC) curve that evaluates the discrimination ability of the classifiers with different thresholds. Accordingly, Figure 4 reveals that the AUC values for the executed classifiers ranged from 0.91 to 0.94. However, XGBoost and ET achieved the highest values at 0.93 and 0.94, respectively.

4.1. Interpretation of the Final Recommended Model

Since ML applications have become more popular over the past eight years or so, they are now having a major influence on humanity in various ways, such as lending decisions and making judgments. However, because most models are opaque by nature, mindlessly implementing their recommendations in applications that affect people could result in problems with justice, safety, and reliability, among many other concerns [43]. Accordingly, this has caused a branch of AI known as XAI to emerge, which is an essential component of enhancing the trust and dependability of AI and ML. Currently, many techniques, most notably ML and DL techniques, are not visible in how they operate and are hence referred to as black-box models. In order to gain adequate trust, and in some situations, achieve even greater performance through human–machine collaboration, XAI is particularly focused on comprehending or interpreting the judgments made by the proposed opaque or black-box models. However, it has been recognized that this poses serious issues for several industries, including health sciences and criminal justice. Consequently, arguments have been made in favor of AI that is explicable [44]. Therefore, this work implements two XAI techniques, including SHAP and LIME.

4.1.1. Shapley Additive Explanation (SHAP)

Black-box ML models are frequently used, making comprehending their results challenging. Accordingly, explainable ML algorithms that dissect the results are used to identify characteristics that influence the model’s output [45]. SHAP is one of the proposed methods, explaining each feature’s impact on the model and permitting both local and global analysis for the intended dataset. Each case prediction is proved using this method by computing all impact-considered attributes and employing SHAP values generated from the coalition game theory. The effect of each attribute on the SHAP value is roughly averaged across all possible permutations. Furthermore, the absolute SHAP value represents the degree of the feature’s impact on model prediction, making it possible to utilize it as a measurement of feature relevance [46].
Figure 5 reveals that the high values of all features, except platelets, strongly influence the prediction, whereas their low values negatively influence the positive prediction. Overall, features including “Age”, “BP- Systolic”, and “Alkaline Phosphatase” have significant importance in model prediction, whereas those including “ALT (Dimension)” and “LDH” have a slight effect in comparison to other features.

4.1.2. Local Interpretable Model-Agnostic Explanations (LIME)

LIME is a technique for explaining black-box models, or models whose inner logic is obscure and difficult to comprehend [47]. LIME adjusts the feature values for a single data sample and monitors its impact on the output. In this method, data around an instance are simulated via random perturbation, and specific selection techniques are employed to assess the significance of attributes. Accordingly, a feature selection process is developed, which selects the features from the new data that best characterize the model result. Finally, a straightforward model is developed, fitted to the newly chosen data, and used to create an explanation for the intended model [48].
The positive probability prediction generated by the ET model, shown in Figure 6a, was 88%. The figure reveals that features including “Age”, “Alkaline Phosphatase”, and “LDH” contributed to the correct classification of the model for pwMS. Contradictorily, Figure 6b explains the negative prediction generated by the ET model, where the negative probability prediction was 84%. The figure reveals that all features except for “Alkaline Phosphatase”, “AST”, and “LDH” have contributed to the correct prediction of non-MS patients.

5. Discussion

With the significant advancement of technology in the past couple of decades, emerging technologies, such as ML, have shown a promising revolution in healthcare. The value of ML lies in its ability to interpret the vast amounts of healthcare data generated daily by electronic health records, allowing healthcare providers to improve and speed up care delivery by evaluating a broader range of data [49]. Moreover, it has been proven that deploying ML models in healthcare systems could contribute significantly in terms of automating primary/tertiary healthcare systems and introducing intelligent decision-making techniques, resulting in lower medical testing costs and time and higher average life expectancy [50].
Over the past two decades, MS has become more prevalent, especially in Saudi Arabia, with a prevalence of approximately 40.4 people per 100,000 of the general population and 61.95 per 100,000 of the Saudi national population [5]. Few pwMS are diagnosed in the early stages of the illness, and pwMS in Saudi Arabia may not be provided with optimum delivery care. Therefore, it is suggested that utilizing ML to pre-emptively diagnose MS may contribute to reducing the associated risks.
Several studies have been conducted to diagnose pwMS using ML techniques, attaining optimistic outcomes. However, very small datasets with few positively confirmed pwMS were used, which may cause the proposed models to be biased to certain patterns [17,20,22,23]. Additionally, most of the studies that achieved significant outcomes relied on MRI images, which are known to have a large sample requirement. Additionally, it is observed that the MRI market in Saudi Arabia reached USD 100.14 million in 2021 and is expected to reach USD 140.77 million by 2027 at a compound annual growth rate of 5.61% [51]. Therefore, acquiring MRI data is an inherently costly and lengthy procedure. The long data-capture times result in limited patient throughput, discomfort, and motion artifacts [52]. Accordingly, it is essential to overcome the limitations of the previous work by developing a timely model for detecting MS. As an alternative to MRI, blood testing can be a less invasive and cost-effective test. Globally, blood sample-handling infrastructures and clinical routines for blood testing have already been well established. Accordingly, it can play an essential role in cutting the costs of diagnosing diseases [53].
This study’s main objective was to build the first ML model to diagnose MS using demographical data and clinical biomarkers collected from the Eastern Province of Saudi Arabia. Several ML algorithms have been developed and compared to find the best-performing model. The results indicated that, with only minor variations in their performance metrics, practically all models performed similarly. However, the ET model outperformed the remaining proposed models, attaining an accuracy of 94.74%, a recall of 97.26%, a precision of 94.67%, an F1-score of 95.95%, and an AUC of 0.94 using 11 attributes. The SHAP XAI technique showed that features including “Age”, “BP- Systolic”, “Alkaline Phosphatase”, “Platelet”, and “Creatinine” have the greatest impact on the model’s prediction.
The patient’s age is ranked as the most important feature in screening MS patients from others, which aligns with the research [10]. The research showed that age is a significant predictor for the diagnosis of MS because aging induces changes in the brain. The second most important feature, BP—systolic, was also shown to have a gradient association with MS [54]. Moreover, platelet was proven to have an association with MS by the study [55]. Their investigation aimed to evaluate the MS patients’ platelet adhesiveness. Both pwMS and the control group had blood samples collected, and the final platelet count percentage showed the degree of platelet stickiness. The results showed that platelet stickiness raised in pwMS compared to the control subjects. Additionally, creatine was also proven to have a significant effect on the prediction of MS, where the study [56] showed that MS patients experienced higher levels of creatinine than the control group, which consisted of healthy subjects having the same age and gender.
The fact that several studies are in line with the SHAP findings shows the reliability of the proposed model. In addition, as opposed to previous studies in the literature, this study focused on the prediction of MS using clinical data instead of MRI imaging, ensuring that the model is computational and cost-efficient.

6. Conclusions

MS is a chronic inflammatory disease that causes long-term functional impairment and disability. It is usually misdiagnosed as other diseases, such as functional neurologic disorders, migraines, and arterial disease, since the symptoms vary depending on the impacted areas and the damage. Furthermore, there are no specific tests that can identify MS with certainty. Therefore, specialists must use a differential diagnosis that depends on ruling out other conditions that might have a similar set of symptoms. Few people have been diagnosed accurately in the early phases of their disease and receive timely care that contributes to reducing the course of the disease, which proves the importance of early screening and diagnosis in preventing complications that negatively impact patients’ quality of life. Accordingly, this study aimed to propose a clinically applicable and cost-effective ML model to screen MS pre-emptively using clinical laboratory biomarkers. According to the comparison between the results achieved from the implemented models, the ET classifier outperformed other models with an accuracy of 94.74%, a precision of 94.67%, a recall of 97.26%, and an F1-score of 95.95% using 11 features after using the SelectKBest approach. Furthermore, XAI was employed to ensure that medical specialists could easily understand how the algorithms could comprehend or interpret the judgments and the most relevant features of the predictive model. The findings of SHAP indicated that features including “Age”, “BP-Systolic”, and “Alkaline Phosphatase” have significant importance on the model prediction.
Since the occurrence of MS cases is greater in the central part than in the eastern part of KSA, it is recommended to collect data from different regions that could improve and verify the obtained results for future work. Consequently, the trained algorithm will be evaluated on new patients to confirm its dependability level and improve it to acquire better accuracy. Additionally, the model could be upgraded to diagnose the stages of MS reliably.

Supplementary Materials

The following supporting information can be downloaded at: www.mdpi.com/article/10.3390/ijerph20054261/s1, Supplementary file.

Author Contributions

Conceptualization, S.O.O., N.A., L.A., A.A. (Alhatoon Alanazy), M.A., S.A., A.A. (Aisha Alansari), R.Z., A.A. (Alaa Alahmadi) and J.A.; Methodology, N.A. and L.A.; Software, N.A. and L.A.; Validation, S.O.O., N.A., L.A., A.A. (Alhatoon Alanazy), M.A., S.A., A.A. (Aisha Alansari), R.Z., A.A. (Alaa Alahmadi), M.I.B.A., M.S.A. and J.A.; Formal analysis, N.A., L.A., A.A. (Alhatoon Alanazy), M.A. and S.A.; Investigation, S.O.O., N.A., L.A., A.A. (Alhatoon Alanazy), M.A., S.A., A.A. (Aisha Alansari), R.Z., A.A. (Alaa Alahmadi) and J.A.; Resources, S.O.O., N.A., L.A., A.A. (Alhatoon Alanazy), M.A., S.A., A.A. (Aisha Alansari), R.Z., A.A. (Alaa Alahmadi), M.I.B.A., M.S.A. and J.A.; Data curation, S.O.O., N.A., L.A. and A.A. (Aisha Alansari); Writing—original draft, N.A., L.A., A.A. (Alhatoon Alanazy), M.A., S.A. and A.A. (Aisha Alansari); Writing—review & editing, S.O.O., A.A. (Aisha Alansari), R.Z., A.A. (Alaa Alahmadi), M.I.B.A., M.S.A. and J.A.; Visualization, N.A., L.A., A.A. (Alhatoon Alanazy), M.A. and S.A.; Supervision, S.O.O., A.A. (Aisha Alansari) and R.Z.; Project administration, S.O.O., A.A. (Aisha Alansari), R.Z., M.I.B.A., M.S.A. and J.A.; Funding acquisition, S.O.O., N.A., L.A., A.A. (Alhatoon Alanazy), M.A., S.A., A.A. (Aisha Alansari), R.Z., A.A. (Alaa Alahmadi), M.I.B.A., M.S.A. and J.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

The study protocol was approved by the institutional Review Board of Imam Abdulrahman Bin Faisal University (IRB-2020-9-429) 30/12/2020.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

The dataset is available upon request from the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Noncommunicable Diseases. Available online: https://www.who.int/news-room/fact-sheets/detail/noncommunicable-diseases (accessed on 24 November 2022).
  2. Rappaport, S.M. Genetic Factors Are Not the Major Causes of Chronic Diseases. PLoS ONE 2016, 11, e0154387. [Google Scholar] [CrossRef] [Green Version]
  3. Morabia, A.; Abel, T. The WHO report “Preventing Chronic Diseases: A vital investment” and us. Soz. Praventivmed. 2006, 51, 74. [Google Scholar] [CrossRef] [Green Version]
  4. Walton, C.; King, R.; Rechtman, L.; Kaye, W.; Leray, E.; Marrie, R.A.; Robertson, N.; La Rocca, N.; Uitdehaag, B.; Van Der Mei, I.; et al. Rising prevalence of multiple sclerosis worldwide: Insights from the Atlas of MS, third edition. Mult. Scler. J. 2020, 26, 1816–1821. [Google Scholar] [CrossRef] [PubMed]
  5. Bunyan, R.; Al Otaibi, H.; Al Towaijri, G.; Karim, A.; Al Malik, Y.; Kalakatawi, M.; Alrajeh, S.; Al Mejally, M.; Algahtani, H. Rising prevalence of multiple sclerosis in Saudi Arabia, a descriptive study. BMC Neurol. 2020, 20, 49. [Google Scholar] [CrossRef]
  6. Multiple Sclerosis. Available online: https://www.moh.gov.sa/en/awarenessplateform/VariousTopics/Pages/MultipleSclerosis.aspx (accessed on 24 November 2022).
  7. Schaeffer, J.; Cossetti, C.; Mallucci, G.; Pluchino, S. Multiple Sclerosis. In Neurobiology of Brain Disorders: Biological Basis of Neurological and Psychiatric Disorders; Elsevier: Cambridge, MA, USA, 2015; pp. 497–520. [Google Scholar] [CrossRef]
  8. Murray, T.J. Diagnosis and treatment of multiple sclerosis. BMJ 2006, 332, 525–527. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  9. Waubant, E. Improving Outcomes in Multiple Sclerosis Through Early Diagnosis and Effective Management. Prim. Care Companion CNS Disord. 2012, 14, 27363. [Google Scholar] [CrossRef] [Green Version]
  10. Aslam, N.; Khan, I.U.; Bashamakh, A.; Alghool, F.A.; Aboulnour, M.; Alsuwayan, N.M.; Alturaif, R.K.; Brahimi, S.; Aljameel, S.S.; Al Ghamdi, K. Multiple Sclerosis Diagnosis Using Machine Learning and Deep Learning: Challenges and Opportunities. Sensors 2022, 22, 7856. [Google Scholar] [CrossRef] [PubMed]
  11. Schmierer, K.; Parkes, H.G.; So, P.-W.; An, S.F.; Brandner, S.; Ordidge, R.; Yousry, T.A.; Miller, D.H. High field (9.4 Tesla) magnetic resonance imaging of cortical grey matter lesions in multiple sclerosis. Brain 2010, 133, 858–867. [Google Scholar] [CrossRef]
  12. Fangerau, T.; Schimrigk, S.; Haupts, M.; Kaeder, M.; Ahle, G.; Brune, N.; Klinkenberg, K.; Kotterba, S.; Mohring, M.; Sindern, E.; et al. Diagnosis of multiple sclerosis: Comparison of the Poser criteria and the new McDonald criteria. Acta Neurol. Scand. 2004, 109, 385–389. [Google Scholar] [CrossRef]
  13. Despotović, I.; Goossens, B.; Philips, W. MRI Segmentation of the Human Brain: Challenges, Methods, and Applications. Comput. Math. Methods Med. 2015, 2015, 1–23. [Google Scholar] [CrossRef] [Green Version]
  14. Arrieta, A.B.; Díaz-Rodríguez, N.; Del Ser, J.; Bennetot, A.; Tabik, S.; Barbado, A.; Garcia, S.; Gil-Lopez, S.; Molina, D.; Benjamins, R.; et al. Explainable Artificial Intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AI. Inf. Fusion 2020, 58, 82–115. [Google Scholar] [CrossRef] [Green Version]
  15. Montolío, A.; Martín-Gallego, A.; Cegoñino, J.; Orduna, E.; Vilades, E.; Garcia-Martin, E.; del Palomar, A.P. Machine learning in diagnosis and disability prediction of multiple sclerosis using optical coherence tomography. Comput. Biol. Med. 2021, 133, 104416. [Google Scholar] [CrossRef] [PubMed]
  16. Montolío, A.; Cegoñino, J.; Garcia-Martin, E.; Pérez del Palomar, A. Comparison of Machine Learning Methods Using Spectralis OCT for Diagnosis and Disability Progression Prognosis in Multiple Sclerosis. Ann. Biomed. Eng. 2022, 50, 507–528. [Google Scholar] [CrossRef]
  17. Del Palomar, A.P.; Cegoñino, J.; Montolío, A.; Orduna, E.; Vilades, E.; Sebastián, B.; Pablo, L.E.; Garcia-Martin, E. Swept source optical coherence tomography to early detect multiple sclerosis disease. The use of machine learning techniques. PLoS ONE 2019, 14, e0216410. [Google Scholar] [CrossRef]
  18. Garcia-Martin, E.; Ortiz, M.; Boquete, L.; Sánchez-Morla, E.; Barea, R.; Cavaliere, C.; Vilades, E.; Orduna, E.; Rodrigo, M. Early diagnosis of multiple sclerosis by OCT analysis using Cohen’s d method and a neural network as classifier. Comput. Biol. Med. 2021, 129, 104165. [Google Scholar] [CrossRef] [PubMed]
  19. Ettema, R.; Lenders, M.W.P.M.; Vliegen, J.; Slettenaar, A.; Tjepkema-Cloostermans, M.C.; de Vos, C. Detecting multiple sclerosis via breath analysis using an eNose, a pilot study. J. Breath Res. 2021, 15, 027101. [Google Scholar] [CrossRef]
  20. Rocca, M.A.; Anzalone, N.; Storelli, L.; Del Poggio, A.; Cacciaguerra, L.; Manfredi, A.A.; Meani, A.; Filippi, M. Deep Learning on Conventional Magnetic Resonance Imaging Improves the Diagnosis of Multiple Sclerosis Mimics. Investig. Radiol. 2021, 56, 252–260. [Google Scholar] [CrossRef]
  21. Storelli, L.; Azzimonti, M.; Gueye, M.; Vizzino, C.M.; Preziosa, P.M.; Tedeschi, G.; De Stefano, N.M.; Pantano, P.M.; Filippi, M.; Rocca, M.A. A Deep Learning Approach to Predicting Disease Progression in Multiple Sclerosis Using Magnetic Resonance Imaging. Investig. Radiol. 2022, 57, 423–432. [Google Scholar] [CrossRef]
  22. Al Jannat, S.; Hoque, T.; Alam Supti, N.; Alam, A. Detection of Multiple Sclerosis using Deep Learning. In Proceedings of the 2021 Asian Conference on Innovation in Technology, ASIANCON 2021, Pune, India, 27–29 August 2021; pp. 1–8. [Google Scholar] [CrossRef]
  23. Alijamaat, A.; NikravanShalmani, A.; Bayat, P. Multiple sclerosis identification in brain MRI images using wavelet convolutional neural networks. Int. J. Imaging Syst. Technol. 2021, 31, 778–785. [Google Scholar] [CrossRef]
  24. sklearn.preprocessing. LabelEncoder—scikit-learn 1.1.3 documentation. Available online: https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.LabelEncoder.html (accessed on 24 November 2022).
  25. Bai, S.; Kolter, J.Z.; Koltun, V. An Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modeling. arXiv 2018, arXiv:1803.01271. [Google Scholar]
  26. Zulfiker, S.; Kabir, N.; Biswas, A.A.; Nazneen, T.; Uddin, M.S. An in-depth analysis of machine learning approaches to predict depression. Curr. Res. Behav. Sci. 2021, 2, 100044. [Google Scholar] [CrossRef]
  27. Brereton, R.G.; Lloyd, G.R. Support Vector Machines for classification and regression. Analyst 2010, 135, 230–267. [Google Scholar] [CrossRef]
  28. Moguerza, J.M.; Muñoz, A. Support Vector Machines with Applications. Stat. Sci. 2006, 21, 322–336. [Google Scholar] [CrossRef] [Green Version]
  29. Battineni, G.; Chintalapudi, N.; Amenta, F. Machine learning in medicine: Performance calculation of dementia prediction by support vector machines (SVM). Inform. Med. Unlocked 2019, 16, 100200. [Google Scholar] [CrossRef]
  30. Rokach, L.; Maimon, O. Decision Trees. In Data Mining and Knowledge Discovery Handbook; Springer: Berlin/Heidelberg, Germany, 2005; pp. 165–192. [Google Scholar]
  31. Ashenden, S.K. The Era of Artificial Intelligence, Machine Learning, and Data Science in the Pharmaceutical Industry; Elsevier: London, UK, 2021. [Google Scholar] [CrossRef]
  32. Belyadi, H.; Haghighat, A. Machine Learning Guide for Oil and Gas Using Python: A Step-by-Step Breakdown with Data, Algorithms, Codes, and Applications; Gulf Professional Publishing: Oxford, UK, 2021. [Google Scholar] [CrossRef]
  33. Gislason, P.O.; Benediktsson, J.A.; Sveinsson, J.R. Random Forests for land cover classification. Pattern Recognit. Lett. 2006, 27, 294–300. [Google Scholar] [CrossRef]
  34. Krishnamoorthi, R.; Joshi, S.; Almarzouki, H.Z.; Shukla, P.K.; Rizwan, A.; Kalpana, C.; Tiwari, B. A Novel Diabetes Healthcare Disease Prediction Framework Using Machine Learning Techniques. J. Healthc. Eng. 2022, 2022, 1684017. [Google Scholar] [CrossRef]
  35. Geurts, P.; Ernst, D.; Wehenkel, L. Extremely randomized trees. Mach. Learn. 2006, 63, 3–42. [Google Scholar] [CrossRef] [Green Version]
  36. Paul, A.; Furmanchuk, A.; Liao, W.; Choudhary, A.; Agrawal, A. Property Prediction of Organic Donor Molecules for Photovoltaic Applications Using Extremely Randomized Trees. Mol. Inform. 2019, 38, e1900038. [Google Scholar] [CrossRef]
  37. Li, W.; Yin, Y.; Quan, X.; Zhang, H. Gene Expression Value Prediction Based on XGBoost Algorithm. Front. Genet. 2019, 10, 1077. [Google Scholar] [CrossRef] [Green Version]
  38. Sinha, N.K.; Khulal, M.; Gurung, M.; Lal, A. Developing A Web based System for Breast Cancer Prediction using XGboost Classifier. Int. J. Eng. Res. 2020, 9, 852–856. [Google Scholar] [CrossRef]
  39. Schapire, R.E. Explaining adaboost. In Empirical Inference; Springer: Berlin/Heidelberg, Germany, 2013; pp. 37–52. [Google Scholar] [CrossRef]
  40. Pandey, P.; Prabhakar, R. An analysis of machine learning techniques (J48 & AdaBoost)-for classification. In Proceedings of the 2016 1st India International Conference on Information Processing (IICIP), Delhi, India, 12–14 August 2016; pp. 1–6. [Google Scholar] [CrossRef]
  41. Gaitán, M.I.; Correale, J. Multiple Sclerosis Misdiagnosis: A Persistent Problem to Solve. Front. Neurol. 2019, 10, 466. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  42. Solomon, A.J.; Naismith, R.T.; Cross, A.H. Misdiagnosis of multiple sclerosis: Impact of the 2017 McDonald criteria on clinical practice. Neurology 2018, 92, 26–33. [Google Scholar] [CrossRef] [PubMed]
  43. Kamath, U.; Liu, J. Explainable Artificial Intelligence: An Introduction to Interpretable Machine Learning; Springer: Berlin/Heidelberg, Germany, 2021. [Google Scholar] [CrossRef]
  44. Emmert-Streib, F.; Yli-Harja, O.; Dehmer, M. Explainable artificial intelligence and machine learning: A reality rooted perspective. WIREs Data Min. Knowl. Discov. 2020, 10, e1368. [Google Scholar] [CrossRef]
  45. Feng, D.-C.; Wang, W.-J.; Mangalathu, S.; Taciroglu, E. Interpretable XGBoost-SHAP Machine-Learning Model for Shear Strength Prediction of Squat RC Walls. J. Struct. Eng. 2021, 147, 04021173. [Google Scholar] [CrossRef]
  46. Alkadhim, H.A.; Amin, M.N.; Ahmad, W.; Khan, K.; Nazar, S.; Faraz, M.I.; Imran, M. Evaluating the Strength and Impact of Raw Ingredients of Cement Mortar Incorporating Waste Glass Powder Using Machine Learning and SHapley Additive ExPlanations (SHAP) Methods. Materials 2022, 15, 7344. [Google Scholar] [CrossRef] [PubMed]
  47. Gabbay, F.; Bar-Lev, S.; Montano, O.; Hadad, N. A LIME-Based Explainable Machine Learning Model for Predicting the Severity Level of COVID-19 Diagnosed Patients. Appl. Sci. 2021, 11, 10417. [Google Scholar] [CrossRef]
  48. Magesh, P.R.; Myloth, R.D.; Tom, R.J. An Explainable Machine Learning Model for Early Detection of Parkinson’s Disease using LIME on DaTSCAN Imagery. Comput. Biol. Med. 2020, 126, 104041. [Google Scholar] [CrossRef]
  49. Javaid, M.; Haleem, A.; Singh, R.P.; Suman, R.; Rab, S. Significance of machine learning in healthcare: Features, pillars and applications. Int. J. Intell. Networks 2022, 3, 58–73. [Google Scholar] [CrossRef]
  50. Kaur, P.; Sharma, M.; Mittal, M. Big Data and Machine Learning Based Secure Healthcare Framework. Procedia Comput. Sci. 2018, 132, 1049–1059. [Google Scholar] [CrossRef]
  51. Saudi Arabia Magnetic Resonance Imaging Market Size, Share, Trends, and Forecast 2027. Available online: https://www.techsciresearch.com/report/saudi-arabia-magnetic-resonance-imaging-market/8197.html (accessed on 22 February 2023).
  52. Johnson, P.M.; Recht, M.P.; Knoll, F. Improving the Speed of MRI with Artificial Intelligence. Semin. Musculoskelet. Radiol. 2020, 24, 012–020. [Google Scholar] [CrossRef]
  53. Hardy-Sosa, A.; León-Arcia, K.; Llibre-Guerra, J.J.; Berlanga-Acosta, J.; Baez, S.d.l.C.; Guillen-Nieto, G.; Valdes-Sosa, P.A. Diagnostic Accuracy of Blood-Based Biomarker Panels: A Systematic Review. Front. Aging Neurosci. 2022, 14, 103. [Google Scholar] [CrossRef] [PubMed]
  54. Goldman, M.D.; Min, S.; Lobo, J.M.; Sohn, M.-W. Retrospective cohort study of the relationship between systolic blood pressure variability and multiple sclerosis disability. BMJ Open 2020, 10, e034355. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  55. Millar, J.H.; Merrett, J.D.; Dalby, A.M. Platelet stickiness in multiple sclerosis. J. Neurol. Neurosurg. Psychiatry 1966, 29, 187–189. [Google Scholar] [CrossRef] [Green Version]
  56. Tavazzi, B.; Batocchi, A.P.; Amorini, A.M.; Nociti, V.; D’Urso, S.; Longo, S.; Gullotta, S.; Picardi, M.; Lazzarino, G. Serum Metabolic Profile in Multiple Sclerosis Patients. Mult. Scler. Int. 2011, 2011, 167156. [Google Scholar] [CrossRef] [PubMed]
Figure 1. The proposed framework for the pre-emptive diagnosis of MS.
Figure 1. The proposed framework for the pre-emptive diagnosis of MS.
Ijerph 20 04261 g001
Figure 2. The value counts of gender.
Figure 2. The value counts of gender.
Ijerph 20 04261 g002
Figure 3. Confusion matrices: (a) SVM, (b) DT, (c) LR, (d) RF, (e) XGBoost, (f) AdaBoost, (g) ET.
Figure 3. Confusion matrices: (a) SVM, (b) DT, (c) LR, (d) RF, (e) XGBoost, (f) AdaBoost, (g) ET.
Ijerph 20 04261 g003aIjerph 20 04261 g003b
Figure 4. AUC values: (a) weak classifiers, (b) ensemble classifiers. (The red diagonal shows the AUC of 0.5m which separates the line to above or under 50%).
Figure 4. AUC values: (a) weak classifiers, (b) ensemble classifiers. (The red diagonal shows the AUC of 0.5m which separates the line to above or under 50%).
Ijerph 20 04261 g004aIjerph 20 04261 g004b
Figure 5. Shapely values using the ET model.
Figure 5. Shapely values using the ET model.
Ijerph 20 04261 g005
Figure 6. Lime results for the ET model. (a) Positive prediction probability, (b) negative prediction probability.
Figure 6. Lime results for the ET model. (a) Positive prediction probability, (b) negative prediction probability.
Ijerph 20 04261 g006
Table 1. Features’ description.
Table 1. Features’ description.
FeatureType
SexCategorical
AgeInteger
Anion GapInteger
ALT (Dimension)Integer
LDHInteger
White Blood CellsFloat
Red Blood CellsFloat
HemoglobinFloat
HematocritFloat
SodiumInteger
PotassiumFloat
ChlorideInteger
Carbon DioxideInteger
CreatinineFloat
Total ProteinFloat
AlbuminFloat
Blood Urea NitrogenInteger
Total BilirubinFloat
Direct BilirubinFloat
Gamma Glutamyl transferaseInteger
MCVFloat
MCHFloat
MCHCFloat
Alkaline PhosphataseInteger
RDWFloat
MPVFloat
ASTInteger
Lymphocyte—Instrument %Float
Monocyte—Instrument %Float
Lymphocyte—Instrument AbsoFloat
Monocyte—Instrument AbsoFloat
Neutrophil Granulocyte—Instrument %Float
Neutrophil Granulocyte—Instrument AbsoFloat
PlateletInteger
Eosinophil—Instrument %Float
Eosinophil—Instrument AbsoFloat
Basophil—Instrument %Float
Basophil—Instrument AbsoFloat
BP—SystolicInteger
Pulse OxInteger
TemperatureFloat
PulseInteger
Respiratory RateInteger
BP—DiastolicInteger
ClassBoolean
Table 2. Statistical analysis of numerical features.
Table 2. Statistical analysis of numerical features.
FeatureMeanStandard DeviationMin25th Quartile50th Quartile75th QuartileMaxMissing Value Counts
Age43.2816.7113.0030.0038.0055.0089.000
Anion Gap9.612.631.008.0010.0011.0027.0020
ALT (Dimension)33.5964.255.0016.0022.0032.001278.0012
LDH182.51131.2995.00142.75164.00187.002523.0013
White Blood Cells6.392.621.304.656.007.6028.202
Red Blood Cells4.680.691.914.264.695.136.722
Hemoglobin12.802.145.8011.5012.9014.4018.502
Hematocrit38.655.9918.3035.1038.9042.9054.302
Sodium140.002.69125.00138.00140.00141.00157.0020
Potassium4.300.433.104.004.304.506.1020
Chloride103.862.5192.00102.00104.00105.00121.0020
Carbon Dioxide26.433.1413.0025.0027.0028.0044.0020
Creatinine0.890.970.150.620.720.8912.2319
Total Protein7.310.643.107.007.307.708.9013
Albumin3.800.521.703.603.904.105.1013
Blood Urea Nitrogen13.819.373.009.0012.0015.0083.0020
Total Bilirubin0.620.980.100.300.400.7016.7013
Direct Bilirubin0.210.560.050.090.120.2011.1013
Gamma Glutamyl Transferase49.85104.494.0019.0027.0043.001296.0013
MCV83.418.8148.979.3584.5089.20133.002
MCH27.483.2915.3025.8028.0029.8040.902
MCHC33.001.3927.7032.1033.1034.0036.202
Alkaline Phosphatase85.00100.1321.0058.0070.0090.001881.0013
RDW14.392.2510.4013.1013.8015.0030.902
MPV8.771.026.008.108.709.4012.704
AST34.97157.535.0015.0018.0024.002560.0012
Lymphocyte—Instrument %33.9111.952.0026.6034.3042.3069.2043
Monocyte—Instrument %8.782.541.207.008.4010.1719.2043
Lymphocyte—Instrument Abso2.060.820.201.502.002.605.4043
Monocyte—Instrument Abso0.540.200.100.400.500.601.6043
Neutrophil Granulocyte—Instrument %53.8713.3717.7045.3053.3060.7091.9043
Neutrophil Granulocyte—Instrument Abso3.692.000.702.403.304.6012.3043
Platelet254.8081.7227.00204.00249.00302.25679.009
Eosinophil—Instrument %2.672.000.001.302.203.6013.7043
Eosinophil—Instrument Abso0.160.150.000.100.100.201.0043
Basophil—Instrument %0.600.420.000.300.500.802.8043
Basophil—Instrument Abso0.030.040.000.000.000.100.2043
BP—Systolic126.3018.0158.00115.00124.00137.00191.00110
Pulse Ox98.702.5653.0098.0099.00100.00100.00123
Temperature36.760.2935.4036.6036.8036.9039.30120
Pulse83.4013.0050.0075.0083.0089.00132.00111
Respiratory Rate19.591.2915.0018.0020.0020.0028.00110
BP—Diastolic76.0010.9232.0069.0076.0084.00107.00110
Table 3. The optimal hyperparameters for each classifier.
Table 3. The optimal hyperparameters for each classifier.
ClassifierHyperparameterOptimal Hyperparameter
SVMC1
gamma1
kernelrbf
DTcriteriongini
max_depth2
min_samples_leaf3
max_leaf_nodes19
LRpenaltyl2
class_weightdict
C1
RFmax_depth6
n_estimators150
criterionentropy
max_leaf_nodesNone
min_samples_leaf3
XGBoostn_estimators80
learning_rate0.1
boostergbtree
gamma0.3
AdaBoostn_estimators100
learning_rate0.2
algorithmSAMME.R
ETn_estimators450
max_depth12
max_leaf_nodesNone
min_samples_leaf1
Table 4. The results of the proposed models using the ideal hyperparameters.
Table 4. The results of the proposed models using the ideal hyperparameters.
ClassifierTraining AccuracyTesting AccuracyPrecisionRecallF1-Score
SVM89.01%92.98%94.52%94.52%94.52%
DT88.13%92.11%93.24%94.52%93.88%
LR87.69%92.98%94.52%94.52%94.52%
RF92.53%92.98%93.33%95.89%94.59%
XGBoost99.56%93.86%94.59%95.89%95.24%
AdaBoost93.24%92.11%93.24%94.52%93.88%
ET95.82%94.74%94.67%97.26%95.95%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Olatunji, S.O.; Alsheikh, N.; Alnajrani, L.; Alanazy, A.; Almusairii, M.; Alshammasi, S.; Alansari, A.; Zaghdoud, R.; Alahmadi, A.; Basheer Ahmed, M.I.; et al. Comprehensible Machine-Learning-Based Models for the Pre-Emptive Diagnosis of Multiple Sclerosis Using Clinical Data: A Retrospective Study in the Eastern Province of Saudi Arabia. Int. J. Environ. Res. Public Health 2023, 20, 4261. https://doi.org/10.3390/ijerph20054261

AMA Style

Olatunji SO, Alsheikh N, Alnajrani L, Alanazy A, Almusairii M, Alshammasi S, Alansari A, Zaghdoud R, Alahmadi A, Basheer Ahmed MI, et al. Comprehensible Machine-Learning-Based Models for the Pre-Emptive Diagnosis of Multiple Sclerosis Using Clinical Data: A Retrospective Study in the Eastern Province of Saudi Arabia. International Journal of Environmental Research and Public Health. 2023; 20(5):4261. https://doi.org/10.3390/ijerph20054261

Chicago/Turabian Style

Olatunji, Sunday O., Nawal Alsheikh, Lujain Alnajrani, Alhatoon Alanazy, Meshael Almusairii, Salam Alshammasi, Aisha Alansari, Rim Zaghdoud, Alaa Alahmadi, Mohammed Imran Basheer Ahmed, and et al. 2023. "Comprehensible Machine-Learning-Based Models for the Pre-Emptive Diagnosis of Multiple Sclerosis Using Clinical Data: A Retrospective Study in the Eastern Province of Saudi Arabia" International Journal of Environmental Research and Public Health 20, no. 5: 4261. https://doi.org/10.3390/ijerph20054261

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop