Next Article in Journal
Mini-Implant Insertion Using a Guide Manufactured with Computer-Aided Design and Computer-Aided Manufacturing in an Adolescent Patient Suffering from Tooth Eruption Disturbance
Next Article in Special Issue
Exploring Diagnostic Precision and Triage Proficiency: A Comparative Study of GPT-4 and Bard in Addressing Common Ophthalmic Complaints
Previous Article in Journal
ECG Forecasting System Based on Long Short-Term Memory
Previous Article in Special Issue
Optimizing Skin Cancer Survival Prediction with Ensemble Techniques
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Systemic Lupus Erythematosus: How Machine Learning Can Help Distinguish between Infections and Flares

1
Department of Internal Medicine, Hospital Clínico Universitario, 47005 Valladolid, Spain
2
Department of Technologies and Information Systems, Faculty of Social Sciences and Information Technologies, Universidad de Castilla-La Mancha (UCLM), 45600 Talavera de la Reina, Spain
3
Medical Analysis Expert Group, Institute of Technology, Universidad de Castilla-La Mancha (UCLM), 16071 Cuenca, Spain
4
Medical Analysis Expert Group, Instituto de Investigación Sanitaria de Castilla-La Mancha (IDISCAM), 45071 Toledo, Spain
5
Department of Internal Medicine, Hospital Universitario Río Hortega, 47012 Valladolid, Spain
*
Author to whom correspondence should be addressed.
Bioengineering 2024, 11(1), 90; https://doi.org/10.3390/bioengineering11010090
Submission received: 30 November 2023 / Revised: 7 January 2024 / Accepted: 15 January 2024 / Published: 17 January 2024

Abstract

:
Systemic Lupus Erythematosus (SLE) is a multifaceted autoimmune ailment that impacts multiple bodily systems and manifests with varied clinical manifestations. Early detection is considered the most effective way to save patients’ lives, but detecting severe SLE activity in its early stages is proving to be a formidable challenge. Consequently, this work advocates the use of Machine Learning (ML) algorithms for the diagnosis of SLE flares in the context of infections. In the pursuit of this research, the Random Forest (RF) method has been employed due to its performance attributes. With RF, our objective is to uncover patterns within the patient data. Multiple ML techniques have been scrutinized within this investigation. The proposed system exhibited around a 7.49% enhancement in accuracy when compared to k-Nearest Neighbors (KNN) algorithm. In contrast, the Support Vector Machine (SVM), Binary Linear Discriminant Analysis (BLDA), Decision Trees (DT) and Linear Regression (LR) methods demonstrated inferior performance, with respective values around 81%, 78%, 84% and 69%. It is noteworthy that the proposed method displayed a superior area under the curve (AUC) and balanced accuracy (both around 94%) in comparison to other ML approaches. These outcomes underscore the feasibility of crafting an automated diagnostic support method for SLE patients grounded in ML systems.

1. Introduction

Systemic Lupus Erythematosus (SLE) is a chronic autoimmune affliction that affects various physiological systems. It serves as an exemplary autoimmune disorder, and its intricate nature poses significant challenges. The varied clinical presentations of SLE, coupled with distinct complexities in both diagnosis and treatment, present a formidable task for healthcare professionals. The emergence of multiple mechanisms results in the breakdown of self-tolerance and subsequent organ dysfunction. Progress in elucidating the molecular and cellular foundations of this condition, in conjunction with the identification of genetic variations, contributes to a more profound comprehension of its pathogenesis, offering promise for therapeutic advancements in the near future.
Commonly known as lupus, it varies in prevalence depending on geographic location, ethnicity, and research study design. In the United States, an estimated 241 cases per 100,000 adults have been reported, while in Spain, the updated figure is 210 cases per 100,000 inhabitants [1]. The Lupus Foundation of America estimates that approximately 161,000 to 322,000 individuals in the U.S. are affected by SLE, translating to a prevalence of approximately 0.05% to 0.1% of the population. Predominantly, it affects young, fertile females and has resulted in increased mortality, although improved treatment modalities have positively impacted survival rates. Notably, the onset of the disease frequently occurs during the childbearing years. Certain demographic groups, including women, people of color (particularly African American, Hispanic, and Asian populations), and individuals of reproductive age, may experience higher prevalence rates. Simultaneously, several factors contribute to a state of relative immunodeficiency in individuals with SLE, including aging, the increasing use of targeted biologic therapies, and the chronic nature of the disease. Furthermore, the presence of other comorbidities such as malignancy, infections, malnutrition, and more further compounds the complexity of the disease. SLE is a complex and heterogeneous condition, manifesting symptoms across a spectrum from mild to severe. The precise etiology of SLE remains not fully understood, with its development believed to result from a combination of genetic and environmental factors. Moreover, the prevalence of SLE may undergo changes over time, influenced by factors such as improvements in diagnostic methods and increased awareness of the disease. Collectively, these multifaceted factors underscore the need for a comprehensive understanding of the diverse epidemiological and clinical aspects of SLE to inform effective management strategies and interventions.
Emerging evidence suggests that immunodeficiency and systemic autoimmunity are interconnected manifestations of a shared underlying process [2]. Immune disorders present as both susceptibility to infections and autoimmune symptoms, indicating a dual impact on the immune system—reduced ability to clear infections and a disruption of self-tolerance. On the other hand, infections are one of the most common causes of death and are often associated with high levels of activity in SLE. Early diagnosis of immunodeficency in SLE is the first step to contribute to detect infections, which are likely to be associated with flares, allows prompt initiation of treatment, a better prognosis, and a reduction in organ dysfunction [3,4,5,6,7]. In the absence of specific criteria that can differentiate between a severe infection and an exacerbation in SLE, the development of clinical studies and guidelines becomes imperative to facilitate a more precise classification of these patients [8].
In pursuit of this objective, Machine Learning (ML) draws inspiration from biological nervous systems. Its fundamental principle revolves around presenting algorithms with input data, subjecting them to computer analysis to predict output values within an acceptable range of accuracy, recognizing data patterns and trends, and ultimately assimilating knowledge from prior experiences [9]. ML delves into intricate data distributions, establishes probabilistic relationships, and identifies the minimum set of features required to capture essential data patterns through repeated cross-validation, culminating in the formulation of predictive models. Numerous studies have leveraged ML methods to develop more precise diagnostic algorithms for stratifying autoimmune diseases, thereby preventing or mitigating observed morbidity [10]. ML methods consistently exhibit superior performance compared to traditional statistical models [9,11,12,13]. A variety of ML techniques, including Support Vector Machine (SVM), Binary Linear Discriminant Analysis (BLDA), k-Nearest Neighbors (KNN), and Decision Trees (DT) [14,15,16,17], have been employed for data analysis. These systems represent a selection of algorithms designed for classifying data and processing information, and they have been explored in the context of various autoimmune diseases, including SLE, rheumatoid arthritis, lupus tubulointerstitial inflammation, and neuropsychiatric SLE [18,19,20,21,22,23].
In this paper, we present a system that utilizes the Random Forest (RF) method for the analysis of immunodeficiency patterns in SLE patients. RF is an ML algorithm that operates by constructing a multitude of decision trees for classification and prediction. For its capacity to enhance accuracy and processing speed, and several notable advantages, including a low computational burden, flexibility in model tuning, high scalability, and algorithmic optimization, it serves as the cornerstone of this approach. Through the application of RF, we aim to predict the immunodeficiency status of our patients, with the overarching goal of not only identifying optimal treatment options but also designing personalized preventive measures and tailoring patient-specific follow-up strategies.
The paper is structured as follows. The first section outlines the topic, purpose, and significance of this study. Second section introduces a detailed description of material and methods. Third section entails the main findings of the study, including data, analysis, and interpretation of the results obtained. Fourth section explores a discussion of these results. And finally, the paper concludes with a summary of the research and some concluding remarks.

2. Materials and Methods

2.1. Materials

The study cohort included 125 patients who met the American College of Rheumatology criteria for SLE in 2019 [23]. These individuals were enrolled from the Autoimmune Unit Registry at Valladolid Clinic Hospital (HCUV) between 2017 and 2019. The experimental protocol adhered to the principles outlined in the Declaration of Helsinki (2008) and received approval from the Clinical Research Ethics Committee of the HCUV. The study was conducted in compliance with Spanish data protection laws (LO 15/1999) and specifications (RD 1720/2007).
Consequently, a retrospective review of patients was systematically conducted, encompassing the collection of epidemiological, analytical, immunological, and clinical characteristics. Relevant immunological parameters for evaluating immune competence included leucocytes, neutrophils, CD3, CD4 and CD8 T-cell counts, CD19 B-cell and Natural Killer (NK) cell levels, serum immunoglobin isotypes (IgG, IgA, IgM), IgG subclasses, and complement levels (C3, C4). Exclusion criteria involved patients with evidence of active disease (SLEDAI > = 4) or significant residual proteinuria (>500 mg). Following this selection strategy, 31 patients were excluded from the study.
Flow cytometry was performed to identify cell populations. Serum levels of immunoglobulin isotypes and IgG subclasses and complement were determined by nephelometry. Standardized reference ranges from the immunology laboratory of our institution were used to define control patients. Laboratory levels below the reference ranges were considered as possible immunodeficiency status: leucocytes < 4000 cL/μL, neutrophils < 1800 cL/μL, lymphocytes < 1500 cL/μL, CD3 T-cell < 700 cL/μL, CD19 B-cell < 100 cL/μL, CD4 T-cell < 300 cL/μL, CD8 T-cell < 200 cL/μL, NK cell < 90 cL/μL, IgG < 870 mg/dL, IgG1 < 383 mg/dL, IgG2 < 242 mg/dL, IgG3 < 22 mg/dL, IgG4 < 4 mg/dL, IgA < 117 mg/dL, IgM < 60 mg/dL, C3 < 90 mg/dL, C4 < 10 mg/dL; special data for patients between 14 and 18 years old were: IgG1 < 315 mg/dL, IgG2 < 242 mg/dL, IgG3 < 23 mg/dL, IgG4 < 11 mg/dL. Severe infection was defined as infection which required hospitalization of seriousness, treatment needed or recommended monitoring.

2.2. Method

This study introduces an ML method centered on the Random Forest (RF) algorithm. RF, a widely adopted ML algorithm within supervised learning, is applied for both classification and regression challenges in ML. Renowned for its simplicity, versatility, and robustness, RF embodies a potent ML algorithm with several noteworthy attributes: (1) operative as an ensemble learning approach, it combines decisions from multiple models to improve overall performance; (2) employing decision trees as base-level models; (3) mitigating overfitting by averaging results across several trees, thereby diminishing the risk of developing complex models performing well on training data but poorly on new data; (4) adeptly handling missing values by learning the optimal imputation value based on the reduction in the utilized criterion; (5) furnishing a reliable estimate of the importance of variables in the classification process; (6) demonstrating flexibility in its applicability to both regression and classification tasks; and (7) executing swiftly with minimal preprocessing requirements compared to alternative algorithms, capable of handling categorical variables without necessitating the creation of dummy variables. Consequently, RF is the chosen algorithm for crafting the model aimed at detecting immunodeficiency patterns within the SLE population [24,25].
Given a dataset S = { x j , y j } , where x j represents feature vectors and y j corresponds to labels, the RF algorithm proceeds as follows:
For each of the n trees in the forest:
  • Draw a bootstrap sample Z * of size N from the training data.
  • Grow a decision tree T b to the bootstrapped data by recursively repeating the following steps for each terminal node of the tree, until the minimum node size n min is reached:
    (a)
    Select m variables at random from the p variables.
    (b)
    Pick the best variable/split-point among the m variables.
    (c)
    Split the node into two daughter nodes.
The prediction of the RF then aggregates the predictions of the n trees.
For regression, it is typically the average over all trees:
f ^ r f ( x ) = 1 n b = 1 n T b ( x )
For classification, it is determined by the majority vote:
C ^ r f ( x ) = majority { C ^ b ( x ) } 1 n
Here, T b ( x ) and C ^ b ( x ) represent the prediction of the b-th decision tree for regression and classification, respectively.
The algorithm was designed and developed using Matlab software (MatLab 2023a, The Mathworks Inc., Natick, MA, USA). Furthermore, the proposed system underwent analysis alongside other ML systems prevalent in the scientific community. These included Support Vector Machine (SVM) [14], Binary Linear Discriminant Analysis (BLDA) [26], Decision Trees (DT) [15], Linear Regression (LR) [27,28], and k-Nearest Neighbor (KNN) [16] to assess its performance. Within the ML system’s learning process, it is imperative to control overtraining. To address this, the k-fold cross-validation technique was employed in our case.
As depicted in Figure 1, each iteration involves the random classification of 70% of the patients for training and 30% for testing and validation. Notably, patient data are not shared between the training and validation subsets to prevent the algorithm from being validated with data from the same patients used in the training phase.
Additionally, techniques for hyperparameter optimization have been applied to fine-tune the hyperparameters of the methods. These hyperparameter values are adjusted during the training phase to maximize the accuracy of the ML method. The hyperparameters subjected to optimization encompass variables such as apprentices, neighbors, distance metric, distance weight, kernel, box constraint level, and multiclass method, each tailored to the specific requirements of the method in use. Bayesian optimization was chosen as the technique to enhance the performance of the various methods by optimizing the selection of diverse hyperparameters. Recall value and AUC were utilized as performance metrics. The entire study was iterated 100 times to obtain mean values and standard deviations for the process. Importantly, it should be emphasized that data used in each iteration were randomized, mitigating noise in the samples and ensuring the acquisition of results with statistically valid values [29].

2.3. Performance Evaluation

For this study, the most well-known metrics in artificial intelligence were implemented to test the performance of the methods [29]: balanced accuracy (BA), recall, precision, specificity (SP), degenerated Younden’s index (DYI) [29], receiver operating characteristic (ROC) and area under the curve (AUC). The F1 score is established as:
F 1 s c o r e = 2 P r e c i s i o n · R e c a l l P r e c i s i o n + R e c a l l
To test the classification performance of the model, the Matthew correlation coefficient (MCC) has been used, which is described as follows:
M C C = T P · T N F P · F N ( T P + F P ) ( T P + F N ) ( T N + F P ) ( T N + F N )
where TP is the number of true positives, FP the number of false positives, TN the number of true negatives and FN the number of false negatives. And finally, Cohen’s Kappa (CK), CK is another metric that estimates the performance of the model [29].

3. Results

The study was conducted on a group of 125 patients diagnosed with SLE. Out of these, 94 patients met the specific criteria of having a SLEDAI-2K score of less than four points, and were thus included in the study. Further analysis revealed that 77 of these 94 patients showed signs of immunodeficiency. This means that approximately 81.9% of the patients with a SLEDAI-2K score less than four exhibited signs of immunodeficiency.
The cohort of patients had a median age of 52 years, whilst the median age at diagnosis was 38 years. The group was predominantly female, with 68 female patients compared to 9 male patients. The median duration of the disease among these patients was 14 years. At the time of data collection (see Table 1), 50 patients (64.9%) were being treated with corticosteroids at an average daily dose of 2.57 mg. In addition, 25 patients (34.9%) were receiving immunosuppressants such as azathioprine, methotrexate, and mycophenolate. Two patients were on belimumab treatment. Notably, none of the patients were undergoing treatment with rituximab.
In turn, 41 patients (53.2%) exhibited patterns of immunodeficiency. Among these patients, there were a total of 51 episodes of severe infections. The breakdown of these infections is as follows:
  • 17 patients were hospitalized due to lower respiratory infections.
  • 4 patients were hospitalized for upper respiratory infections.
  • 9 patients were treated for urinary infections.
  • 10 patients had soft tissue infections.
  • 4 patients suffered from digestive infections.
  • 1 patient was diagnosed with tuberculous lymphadenitis.
Table 1 provides an overview of the characteristics of patients exhibiting immunodeficiency patterns. The patients under study demonstrated a decline in the count of several immune cells. This was particularly evident in the case of NK cells, a component of the innate immune system, and CD19 B-cells, a part of the adaptive immune system. The latter includes IgG subclasses and IgM, both of which also showed a decrease. These patients exhibited reduced levels of various immune cells, as illustrated in Table 1, with notable decreases observed in NK cells within the innate immune system and CD19 B-cells within the adaptive immune system, including IgG subclasses and IgM.
The study employed a range of ML techniques to discern patterns of innate and adaptive immunodeficiency within the SLE population. The findings derived from these techniques, coupled with several ML algorithms for identifying immunodeficiency, are detailed below. Performance metrics such as BA, recall, specificity, precision, and AUC for the investigated ML methods are exhibited in Table 2 and Table 3. Both tables provide a detailed summary of performance metrics for different ML methods applied to variables IgG, IgG2, IgG3, IgG4 (Table 2), and IgM, NK, CD19, CD3 (Table 3). These variables are associated with immunoglobulins and immune cell populations, whilst the ML methods evaluated include SVM, BLDA, DT, KNN, and the RF proposed method. The results offer insights into how well each ML method performs in predicting or classifying the specified immunological variables, providing a comparative analysis of their strengths in terms of these metrics. The comprehensive nature of the data facilitates an informed selection of the most suitable method for each variable based on the desired performance criteria. Of particular note is the RF proposed method, which consistently outperforms across all variables, achieving the highest accuracy. KNN also demonstrates strong performance, particularly in IgM and CD3. LR were the lowest results obtained, whilst SVM, BLDA, and DT generally exhibit competitive results but with slightly lower accuracy than RF and KNN. In summary, the evaluation underscores the robust performance of the proposed method across the variables related to immunoglobulins and immune cell types, being the preferred model for classifying SLE patients due to its consistently high accuracy, balanced performance metrics, ensemble learning strengths, and robustness to noisy data observed.
Moreover, Table 4 and Table 5 present performance metrics, including F1 score, MCC, DYI, and Kappa values, for the ML methods applied. The observed values provide insights into the models’ effectiveness in classifying SLE patients. Thus, in Table 4 (variables IgG, IgG2, IgG3, and IgG4), RF consistently outperforms again other methods across all metrics, exhibiting high F1 score, MCC, DYI, and Kappa values. This suggests RF’s robustness in achieving a balanced trade-off between precision and recall, capturing the model’s ability to handle both positive and negative instances effectively. Again, KNN also shows competitive performance, while SVM, BLDA, and DT demonstrate slightly lower performance across these metrics, being LR the one which obtained the lowest performance values. Similar trends are observed in the variables related to immune cell types in Table 5 (IgM, NK, CD19, and CD3), where RF again demonstrates superior performance, especially notable in achieving high F1 score and DYI values. This reinforces RF’s suitability for SLE classification, indicating its ability to maintain a balance between true positives, true negatives, false positives, and false negatives. KNN also perform well, but RF consistently stands out as the top-performing model across the diverse set of variables.
For a comprehensive view of the trade-off between the true/false positive rates between the proposed system and other ML methods, the Receiver Operating Characteristic (ROC) curves were also generated. With this purpose in mind, the ROC curve is employed to quantify sensitivity and 1-specificity at various threshold levels. As illustrated in Figure 2, which shows the ROC curve for CD19 variable as example, the system that utilizes RF generates the largest area under the curve, indicating a superior level of predictive accuracy.
In the study conducted, it was also observed that the subsets used for training the model exhibited high scores in the training metrics. When these models were tested, they showed a noticeable decrease in their scores. Nonetheless, as depicted in Figure 3 and Figure 4, the RF system emerges as a well-calibrated model, attaining an optimal point in training without succumbing to overfitting or underfitting. This approach consistently delivers accurate predictions for novel inputs. The RF system’s superior performance is evident, where it surpasses other methods by covering a larger area in the radar plots in both the training and testing phases.

4. Discussion

The task of managing patients with SLE is crucial in order to reduce the risk of irreversible organ damage [30,31]. This is not only vital for maintaining the health-related quality of life of the patients [32,33], but also for managing the direct costs associated with the treatment of SLE [34,35]. However, this task presents significant challenges due to the heterogeneous nature of SLE, which is characterized by variations in disease progression [36,37]. There is therefore an urgent need to improve the accuracy and classification of SLE flares, taking into account that the trigger of activity may be an infection in a situation of immunodeficiency. Numerous studies have been conducted to address this need, including recent research that has emerged over the last few years [31,33]. These studies have emphasized potential treatments for severe lupus manifestations such as lupus nephritis [31]. Despite the existence of several therapeutic agents in SLE, the disease continues to cause significant morbidity [31]. It is encouraging that a variety of therapeutic options are currently under investigation [31].
In clinical practice, the manifestation of a malar rash, coupled with the detection of anti-DNA autoantibodies in patients, often guides healthcare professionals towards the diagnosis of SLE [38,39]. It is noteworthy that SLE is characterized by a significant degree of phenotypic diversity, which includes both systemic and localized forms. The evolution of immunological and clinical features over time underscores the dynamic nature of this disease [33,40].
A multitude of models have been established to estimate the probability of SLE occurrence, providing a degree of confidence in differentiating it from other rheumatological disorders. These models leverage unsupervised clustering based on the nature and abundance of features, mirroring diagnostic reasoning, especially during initial patient consultations [41,42]. Certain models incorporate gene analysis techniques to improve the classification of SLE patients [19]. Recent research has delved into the utilization of machine learning techniques for SLE analysis, customizing their methodologies to the specific dataset under investigation [22,43,44]. For example, Jorge et al. [20] utilized ML techniques to predict the hospitalization of SLE patients.
In the present study, the RF method, among all the ML classifiers employed, exhibited the most robust classification performance. It demonstrated superior accuracy levels and facilitated the identification of immunodeficiency patterns within the SLE population. This method offers scalability, rapid execution, and other beneficial features that enhance its classification capabilities [45]. ML models possess the capability to evaluate multiple variables and their interrelationships concurrently, accommodating non-linear patterns in the development of predictive systems [45]. Furthermore, we conducted a comparative analysis of our proposed system’s performance against various ML algorithms documented in Table 2, Table 3, Table 4 and Table 5. Notably, the RF method exhibited a substantial improvement, outperforming DT, BLDA and SVM, which demonstrated lower performance. Whilst the KNN method closely approached our proposed method, achieving AUC = 86% and Recall = 86%, RF demonstrated superior performance, surpassing both metrics with remarkable values of AUC and Recall, reaching around 94%. This notable improvement highlights the efficacy of the RF method in capturing complex patterns and enhancing the overall predictive capabilities.
Additionally, Figure 3 and Figure 4 illustrate a well-balanced performance graph for our proposed system, indicating minimal disparities between training and testing phases and no signs of overfitting. This establishes the system as a dependable tool, facilitating automated analysis to aid in the classification of SLE patients. Our results affirm the efficacy of the RF system in precisely predicting SLE patients, establishing it as a valuable tool for supporting SLE diagnosis.

5. Conclusions

In conclusion, due to the complexity of this elusive autoimmune disease, the use of ML algorithms such as RF is critical for the classification and rapid detection of patients with SLE flares. SLE presents with a range of challenging symptoms that are particularly difficult to diagnose accurately in its early stages. The intricate relationship between infections and autoimmunity in SLE underscores the critical need for preventative measures and the early detection of infections in SLE patients exhibiting heightened susceptibility. This integrated approach aims to address the multifaceted challenges of SLE, providing a more holistic understanding for improved patient care.
RF’s proficiency in handling diverse datasets and extracting intricate patterns makes it well-suited for identifying subtle indicators of SLE. The algorithm’s swift information processing enables quick detection, allowing for timely intervention and personalized treatment plans for SLE patients. Given the rarity and importance of SLE, the use of RF and similar ML approaches not only improves the diagnostic accuracy of SLE activity, but also contributes to improved patient outcomes, long-term monitoring, and a more effective healthcare management strategy for this devastating disease.
Thus, this investigation delves into the optimal ML technique for identifying patterns of immunodeficiency within the SLE population. It establishes that an ML system serves as a highly accurate tool for identifying diminished levels of immune parameters in individuals at a significantly elevated risk of experiencing both infections and, consequently, SLE flares. Moreover, the RF-based system proposed surpasses the performance of other studies, evident in a larger AUC, thereby affirming its superior predictive accuracy.

Author Contributions

Conceptualization: I.U., Y.A. and J.M.; methodology: I.U., Y.A., A.M.T. and J.M.; formal analysis: I.U., Y.A., A.M.T. and J.M.; investigation: I.U., Y.A., A.M.T., J.B. and J.M.; writing—original draft preparation: I.U., Y.A., A.M.T., J.B. and J.M.; writing—review and editing: I.U., Y.A., A.M.T., J.B. and J.M.; supervision: A.M.T. and J.M.; project administration: J.M.; funding acquisition: Y.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by UCLM-Telefónica Chair and Ministry of Economic Affairs and Digital Transformation (MINECO) grant number PID2021-125122OB-I00.

Institutional Review Board Statement

This research was approved by the ethics committee of the Valladolid Clinic Hospital.

Informed Consent Statement

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

Data Availability Statement

The datasets used and/or analyzed during the present study are available from the corresponding author on reasonable request.

Acknowledgments

This work was sponsored by Institute of Technology (University of Castilla-La Mancha), the Valladolid Clinic Hospital (Spain), and the UCLM-Telefónica Chair (Spain).

Conflicts of Interest

The authors declare that they have no conflicts of interest.

References

  1. Cortés Verdú, R.; Pego-Reigosa, J.M.; Seoane-Mato, D.; Morcillo Valle, M.; Palma Sánchez, D.; Moreno Martínez, M.J.; Mayor González, M.; Atxotegi Sáenz de Buruaga, J.; Urionagüena Onaindia, I.; Blanco Cáceres, B.A.; et al. Prevalence of systemic lupus erythematosus in Spain: Higher than previously reported in other countries? Rheumatology 2020, 59, 2556–2562. [Google Scholar] [PubMed]
  2. Schmidt, R.E.; Grimbacher, B.; Witte, T. Autoimmunity and primary immunodeficiency: Two sides of the same coin? Nat. Rev. Rheumatol. 2018, 14, 7–18. [Google Scholar] [CrossRef]
  3. Bandinelli, F.; Bombardieri, S.; Matucci, M.; Delle Sedie, A. Systemic lupus erythematosus joint involvement—What does musculoskeletal ultrasound provide Us? Eur. Musculoskelet. Rev. 2012, 7, 221–223. [Google Scholar]
  4. Kariburyo, F.; Xie, L.; Sah, J.; Li, N.; Lofland, J.H. Real-world medication use and economic outcomes in incident systemic lupus erythematosus patients in the United States. J. Med. Econ. 2020, 23, 1–9. [Google Scholar] [CrossRef] [PubMed]
  5. Piga, M.; Arnaud, L. The main challenges in systemic lupus erythematosus: Where do we stand? J. Clin. Med. 2021, 10, 243. [Google Scholar] [CrossRef]
  6. Rees, F.; Doherty, M.; Grainge, M.; Davenport, G.; Lanyon, P.; Zhang, W. The incidence and prevalence of systemic lupus erythematosus in the UK, 1999–2012. Ann. Rheum. Dis. 2016, 75, 136–141. [Google Scholar] [CrossRef] [PubMed]
  7. Adamichou, C.; Bertsias, G. Flares in systemic lupus erythematosus: Diagnosis, risk factors and preventive strategies. Mediterr. J. Rheumatol. 2017, 28, 4–12. [Google Scholar]
  8. Zhou, Y.; Wang, M.; Zhao, S.; Yan, Y. Machine Learning for Diagnosis of Systemic Lupus Erythematosus: A Systematic Review and Meta-Analysis. Comput. Intell. Neurosci. 2022, 2022, 7167066. [Google Scholar] [CrossRef]
  9. Handelman, G.; Kok, H.; Chandra, R.; Razavi, A.; Lee, M.; Asadi, H. eDoctor: Machine learning and the future of medicine. J. Intern. Med. 2018, 284, 603–619. [Google Scholar] [CrossRef]
  10. Adamichou, C.; Nikolopoulos, D.; Genitsaridi, I.; Bortoluzzi, A.; Fanouriakis, A.; Papastefanakis, E.; Kalogiannaki, E.; Gergianaki, I.; Sidiropoulos, P.; Boumpas, D.T.; et al. In an early SLE cohort the ACR-1997, SLICC-2012 and EULAR/ACR-2019 criteria classify non-overlapping groups of patients: Use of all three criteria ensures optimal capture for clinical studies while their modification earlier classification and treatment. Ann. Rheum. Dis. 2020, 79, 232–241. [Google Scholar] [CrossRef]
  11. Suárez, M.; Martínez, R.; Torres, A.M.; Ramón, A.; Blasco, P.; Mateo, J. Personalized Risk Assessment of Hepatic Fibrosis after Cholecystectomy in Metabolic-Associated Steatotic Liver Disease: A Machine Learning Approach. J. Clin. Med. 2023, 12, 6489. [Google Scholar] [CrossRef] [PubMed]
  12. Casillas, N.; Ramón, A.; Torres, A.M.; Blasco, P.; Mateo, J. Predictive Model for Mortality in Severe COVID-19 Patients across the Six Pandemic Waves. Viruses 2023, 15, 2184. [Google Scholar] [CrossRef] [PubMed]
  13. Soria, C.; Arroyo, Y.; Torres, A.M.; Redondo, M.Á.; Basar, C.; Mateo, J. Method for Classifying Schizophrenia Patients Based on Machine Learning. J. Clin. Med. 2023, 12, 4375. [Google Scholar] [CrossRef] [PubMed]
  14. Chen, Y.; Mao, Q.; Wang, B.; Duan, P.; Zhang, B.; Hong, Z. Privacy-Preserving Multi-Class Support Vector Machine Model on Medical Diagnosis. IEEE J. Biomed. Health Inform. 2022, 26, 3342–3353. [Google Scholar] [CrossRef] [PubMed]
  15. Sethi, M.; Ahuja, S.; Rani, S.; Bawa, P.; Zaguia, A. Classification of Alzheimer’s disease using Gaussian-based Bayesian parameter optimization for deep convolutional LSTM network. Comput. Math. Methods Med. 2021, 2021, 4186666. [Google Scholar] [PubMed]
  16. Mahfouz, M.A.; Shoukry, A.; Ismail, M.A. EKNN: Ensemble classifier incorporating connectivity and density into kNN with application to cancer diagnosis. Artif. Intell. Med. 2021, 111, 101985. [Google Scholar] [PubMed]
  17. Reges, O.; Krefman, A.E.; Hardy, S.T.; Yano, Y.; Muntner, P.; Lloyd-Jones, D.M.; Allen, N.B. Decision tree-based classification for maintaining normal blood pressure throughout early adulthood and middle age: Findings from the coronary artery risk development in young adults (CARDIA) study. Am. J. Hypertens. 2021, 34, 1037–1041. [Google Scholar] [CrossRef]
  18. Zhao, X.; Zhang, L.; Wang, J.; Zhang, M.; Song, Z.; Ni, B.; You, Y. Identification of key biomarkers and immune infiltration in systemic lupus erythematosus by integrated bioinformatics analysis. J. Transl. Med. 2021, 19, 35. [Google Scholar] [CrossRef]
  19. Jiang, Z.; Shao, M.; Dai, X.; Pan, Z.; Liu, D. Identification of diagnostic biomarkers in systemic lupus erythematosus based on bioinformatics analysis and machine learning. Front. Genet. 2022, 13, 865559. [Google Scholar]
  20. Jorge, A.M.; Smith, D.; Wu, Z.; Chowdhury, T.; Costenbader, K.; Zhang, Y.; Choi, H.K.; Feldman, C.H.; Zhao, Y. Exploration of machine learning methods to predict systemic lupus erythematosus hospitalizations. Lupus 2022, 31, 1296–1305. [Google Scholar]
  21. Cheng, Q.; Chen, X.; Wu, H.; Du, Y. Three hematologic/immune system-specific expressed genes are considered as the potential biomarkers for the diagnosis of early rheumatoid arthritis through bioinformatics analysis. J. Transl. Med. 2021, 19, 18. [Google Scholar] [CrossRef] [PubMed]
  22. Cicalese, P.A.; Mobiny, A.; Shahmoradi, Z.; Yi, X.; Mohan, C.; Van Nguyen, H. Kidney level lupus nephritis classification using uncertainty guided Bayesian convolutional neural networks. IEEE J. Biomed. Health Inform. 2020, 25, 315–324. [Google Scholar]
  23. Aringer, M.; Brinks, R.; Dörner, T.; Daikh, D.; Mosca, M.; Ramsey-Goldman, R.; Smolen, J.S.; Wofsy, D.; Boumpas, D.T.; Kamen, D.L.; et al. European League against Rheumatism (EULAR)/American College of Rheumatology (ACR) SLE classification criteria item performance. Ann. Rheum. Dis. 2021, 80, 775–781. [Google Scholar] [CrossRef]
  24. Breiman, L. Random Forests. Machine Learning 2001, 45, 5–32. [Google Scholar] [CrossRef]
  25. Han, S.; Williamson, B.D.; Fong, Y. Improving random forest predictions in small datasets from two-phase sampling designs. BMC Med. Inform. Decis. Mak. 2021, 21, 322. [Google Scholar]
  26. Huang, A.; Zhou, W. BLDA Approach for Classifying P300 Potential. In Proceedings of the 7th Asian-Pacific Conference on Medical and Biological Engineering, Beijing, China, 22–25 April 2008; Springer: Berlin/Heidelberg, Germany, 2008; pp. 341–343. [Google Scholar]
  27. Huang, M. Theory and Implementation of linear regression. In Proceedings of the 2020 International Conference on Computer Vision, Image and Deep Learning (CVIDL), Chongqing, China, 10–12 July 2020; pp. 210–217. [Google Scholar]
  28. Kuchibhotla, A.K.; Brown, L.D.; Buja, A.; Cai, J. All of Linear Regression. arXiv 2019, arXiv:1910.06386. [Google Scholar]
  29. Han, J.; Pei, J.; Kamber, M. Data Mining: Concepts and Techniques, 3rd ed.; Elsevier: Amsterdam, The Netherlands, 2016. [Google Scholar]
  30. Bruce, I.N.; O’Keeffe, A.G.; Farewell, V.; Hanly, J.G.; Manzi, S.; Su, L.; Gladman, D.D.; Bae, S.C.; Sanchez-Guerrero, J.; Romero-Diaz, J.; et al. Factors associated with damage accrual in patients with systemic lupus erythematosus: Results from the Systemic Lupus International Collaborating Clinics (SLICC) Inception Cohort. Ann. Rheum. Dis. 2015, 74, 1706–1713. [Google Scholar]
  31. Liossis, S.N.; Staveri, C. What is New in the Treatment of Systemic Lupus Erythematosus. Front. Med. 2021, 8, 655100. [Google Scholar]
  32. Ugarte-Gil, M.F.; Mendoza-Pinto, C.; Reátegui-Sokolova, C.; Pons-Estel, G.J.; Van Vollenhoven, R.F.; Bertsias, G.; Alarcon, G.S.; Pons-Estel, B.A. Achieving remission or low disease activity is associated with better outcomes in patients with systemic lupus erythematosus: A systematic literature review. Lupus Sci. Med. 2021, 8, e000542. [Google Scholar] [CrossRef]
  33. Yavuz, S.; Lipsky, P.E. Current Status of the Evaluation and Management of Lupus Patients and Future Prospects. Front. Med. 2021, 8, 682544. [Google Scholar]
  34. Carter, E.E.; Barr, S.G.; Clarke, A.E. The global burden of SLE: Prevalence, health disparities and socioeconomic impact. Nat. Rev. Rheumatol. 2016, 12, 605–620. [Google Scholar] [CrossRef]
  35. Aparicio-Soto, M.; Sánchez-Hidalgo, M.; Alarcón-de-la Lastra, C. An update on diet and nutritional factors in systemic lupus erythematosus management. Nutr. Res. Rev. 2017, 30, 118–137. [Google Scholar] [CrossRef] [PubMed]
  36. Tselios, K.; Gladman, D.; Touma, Z.; Su, J.; Anderson, N.; Urowitz, M. Disease course patterns in systemic lupus erythematosus. Lupus 2019, 28, 114–122. [Google Scholar] [CrossRef] [PubMed]
  37. Akhil, A.; Bansal, R.; Anupam, K.; Ankit, T.; Bhatnagar, A. Systemic lupus erythematosus: Latest insight into etiopathogenesis. Rheumatol. Int. 2023, 43, 1381–1393. [Google Scholar] [CrossRef]
  38. Larosa, M.; Iaccarino, L.; Gatto, M.; Punzi, L.; Doria, A. Advances in the diagnosis and classification of systemic lupus erythematosus. Expert Rev. Clin. Immunol. 2016, 12, 1309–1320. [Google Scholar] [CrossRef]
  39. Aringer, M.; Johnson, S.R. Classifying and diagnosing systemic lupus erythematosus in the 21st century. Rheumatology 2020, 59, v4–v11. [Google Scholar] [PubMed]
  40. Inês, L.; Silva, C.; Galindo, M.; López-Longo, F.J.; Terroso, G.; Romão, V.C.; Rúa-Figueroa, I.; Santos, M.J.; Pego-Reigosa, J.M.; Nero, P.; et al. Classification of systemic lupus erythematosus: Systemic Lupus International Collaborating Clinics versus American College of Rheumatology criteria. A comparative study of 2055 patients from a real-life, international systemic lupus erythematosus cohort. Arthritis Care Res. 2015, 67, 1180–1185. [Google Scholar] [CrossRef]
  41. Adamichou, C.; Genitsaridi, I.; Nikolopoulos, D.; Nikoloudaki, M.; Repa, A.; Bortoluzzi, A.; Fanouriakis, A.; Sidiropoulos, P.; Boumpas, D.T.; Bertsias, G.K. Lupus or not? SLE Risk Probability Index (SLERPI): A simple, clinician-friendly machine learning-based model to assist the diagnosis of systemic lupus erythematosus. Ann. Rheum. Dis. 2021, 80, 758–766. [Google Scholar]
  42. Donner-Banzhoff, N. Solving the diagnostic challenge: A patient-centered approach. Ann. Fam. Med. 2018, 16, 353–358. [Google Scholar] [CrossRef]
  43. Kinloch, A.J.; Asano, Y.; Mohsin, A.; Henry, C.; Abraham, R.; Chang, A.; Labno, C.; Wilson, P.C.; Clark, M.R. Machine learning to quantify in situ humoral selection in human lupus tubulointerstitial inflammation. Front. Immunol. 2020, 11, 593177. [Google Scholar] [CrossRef]
  44. Usategui, I.; Barbado, J.; Torres, A.M.; Cascón, J.; Mateo, J. Machine learning, a new tool for the detection of immunodeficiency patterns in systemic lupus erythematosus. J. Investig. Med. 2023, 71, 742–752. [Google Scholar] [CrossRef] [PubMed]
  45. Chen, W.; Lei, X.; Chakrabortty, R.; Pal, S.C.; Sahana, M.; Janizadeh, S. Evaluation of different boosting ensemble machine learning models and novel deep learning and boosting framework for head-cut gully erosion susceptibility. J. Environ. Manag. 2021, 284, 112015. [Google Scholar] [CrossRef] [PubMed]
Figure 1. The figure shows the processes followed in this study for the classification of patients with SLE.
Figure 1. The figure shows the processes followed in this study for the classification of patients with SLE.
Bioengineering 11 00090 g001
Figure 2. Example of ROC curve for the five assessed ML predictors for variable CD19.
Figure 2. Example of ROC curve for the five assessed ML predictors for variable CD19.
Bioengineering 11 00090 g002
Figure 3. The figure shows the radar plots of the variables IgG, IgG2, IgG3 and IgG4, respectively.
Figure 3. The figure shows the radar plots of the variables IgG, IgG2, IgG3 and IgG4, respectively.
Bioengineering 11 00090 g003
Figure 4. The figure shows the radar plots of the variables IgM, NK, CD19 and CD3, respectively.
Figure 4. The figure shows the radar plots of the variables IgM, NK, CD19 and CD3, respectively.
Bioengineering 11 00090 g004
Table 1. Characteristics of patients with immunodeficiency patterns.
Table 1. Characteristics of patients with immunodeficiency patterns.
Characteristics of Patients with Immunodeficiency Patterns
N77
Median age (years)52
Female/Male68/9
SLE evolution time (years)14
Corticosteroids (n)50 (64.9%)
Immunosuppressants (n)25 (32.4%)
Hydroxychloroquine (n)37 (48%)
Severe infections (n)51
Immunodeficiency patterns (n)
Leucocytes (<4000 cL/μL)9
Lymphocytes (<1500 cL/μL)28
Neutrophils (<1800 cL/μL)9
CD3 (<700 cL/μL)10
CD4 (<300 cL/μL)6
CD8 (<200 cL/μL)3
CD19 (<100 cL/μL)23
NK (<90 cL/μL)13
IgG (<870 mg/dL)17
IgG1 (<383 mg/dL)3
IgG2 (<242 mg/dL)36
IgG3 (<22 mg/dL)16
IgG4 (<4 mg/dL)7
IgA (117 mg/dL)8
IgM (<60 mg/dL)20
C3 (<90 mg/dL)13
C4 (<10 mg/dL)6
Table 2. The table summarises the values of BA, recall, specificity, precision and AUC for variables IgG, IgG2, IgG3 and IgG4.
Table 2. The table summarises the values of BA, recall, specificity, precision and AUC for variables IgG, IgG2, IgG3 and IgG4.
IgG.
MethodsBARecallSpecificityPrecisionAUC
SVM80.8580.9580.7680.2880.00
BLDA78.1178.2078.0277.5578.00
DT83.8583.9583.7583.2583.00
LR70.0269.7568.8468.9568.42
RF93.9694.0793.8593.2994.00
KNN86.3886.4886.2885.7686.00
IgG2.
MethodsBARecallSpecificityPrecisionAUC
SVM81.8581.9581.7681.2781.00
BLDA77.3777.4677.2876.8277.00
DT83.1683.2683.0682.5783.00
LR69.5169.2468.3368.4468.42
RF94.5894.6994.4793.9094.00
KNN85.9986.0985.8985.3886.00
IgG3.
MethodsBARecallSpecificityPrecisionAUC
SVM81.5681.6681.4780.9881.00
BLDA79.1679.2579.0678.5979.00
DT83.8283.9283.7283.2283.00
LR69.4469.1768.2768.3868.42
RF94.4294.5394.3193.7594.00
KNN86.5786.6786.4785.9586.00
IgG4.
MethodsBARecallSpecificityPrecisionAUC
SVM81.3581.4581.2680.7781.00
BLDA78.9379.0278.8378.3678.00
DT83.2683.3683.1682.6783.00
LR70.1569.8868.9769.0868.42
RF94.5094.6194.3993.8394.00
KNN86.0786.1785.9785.4686.00
Table 3. The table summarises the values of BA, recall, specificity, precision and AUC for variables IgM, NK, CD19 and CD3.
Table 3. The table summarises the values of BA, recall, specificity, precision and AUC for variables IgM, NK, CD19 and CD3.
IgM.
MethodsBARecallSpecificityPrecisionAUC
SVM81.2481.3481.1580.6781.00
BLDA78.1178.2078.0277.5578.00
DT83.3583.4583.2582.7683.00
LR69.8669.5968.6868.7968.42
RF94.8094.9194.6994.1294.00
KNN86.3886.4886.2885.7686.00
NK.
MethodsBARecallSpecificityPrecisionAUC
SVM81.0681.1680.9780.4981.00
BLDA77.5277.6177.4376.9777.00
DT84.8484.9484.7484.2484.00
LR69.5169.2468.3368.4468.42
RF94.7594.8694.6494.0794.00
KNN86.5186.6186.4185.8986.00
CD19.
MethodsBARecallSpecificityPrecisionAUC
SVM82.2182.3182.1281.6382.00
BLDA76.8976.9876.8076.3476.00
DT84.0484.1483.9483.4484.00
LR69.6569.3868.4768.5868.42
RF94.3494.4594.2393.6794.00
KNN85.2485.3485.1484.6385.00
CD3.
MethodsBARecallSpecificityPrecisionAUC
SVM81.4681.5681.3780.8881.00
BLDA77.2177.3077.1276.6677.00
DT84.1684.2684.0683.5684.00
LR70.4170.1469.2269.3368.42
RF95.1295.2395.0194.4495.00
KNN86.3886.4886.2885.7686.00
Table 4. The table presents the F1 score, MCC, DYI and Kappa values for variables IgG, IgG2, IgG3 and IgG4.
Table 4. The table presents the F1 score, MCC, DYI and Kappa values for variables IgG, IgG2, IgG3 and IgG4.
IgG.
MethodsF1 scoreMCCDYIKappa
SVM80.6171.7480.8571.98
BLDA77.8769.3178.1169.54
DT83.6074.4083.8574.65
LR70.0664.5969.8364.23
RF93.6883.3793.9683.65
KNN86.1276.6586.3876.90
IgG2.
MethodsF1 scoreMCCDYIKappa
SVM81.6172.6381.8572.87
BLDA77.1468.6577.3768.88
DT82.9173.7983.1674.04
LR69.5464.1269.3263.76
RF94.3083.9294.5884.20
KNN85.7376.3085.9976.55
IgG3.
MethodsF1 scoreMCCDYIKappa
SVM81.3272.3781.5672.61
BLDA78.9270.2479.1670.47
DT83.5774.3883.8274.62
LR69.4864.0669.2563.70
RF94.1483.7894.4284.06
KNN86.3176.8186.5777.07
IgG4.
MethodsF1 scoreMCCDYIKappa
SVM81.1172.1981.3572.43
BLDA78.6970.0378.9370.27
DT83.0173.8883.2674.13
LR70.1964.7269.9664.35
RF94.2283.8594.5084.13
KNN85.8176.3786.0776.62
Table 5. The table presents the F1 score, MCC, DYI and Kappa values for variables IgM, NK, CD19 and CD3.
Table 5. The table presents the F1 score, MCC, DYI and Kappa values for variables IgM, NK, CD19 and CD3.
IgM.
MethodsF1 scoreMCCDYIKappa
SVM81.0072.0981.2472.33
BLDA77.8769.3178.1169.54
DT83.1073.9683.3574.21
LR69.9064.4569.6764.08
RF94.5184.1294.8084.40
KNN86.1276.6586.3876.90
NK.
MethodsF1 scoreMCCDYIKappa
SVM80.8271.9381.0672.17
BLDA77.2968.7877.5269.01
DT84.5975.2884.8475.53
LR69.5464.1269.3263.76
MethodsF1 scoreMCCDYIKappa
RF94.4684.0794.7584.35
KNN86.2576.7686.5177.02
CD19.
MethodsF1 scoreMCCDYIKappa
SVM81.9772.9582.2173.19
BLDA76.6668.2376.8968.45
DT83.7974.5784.0474.82
LR69.6864.2569.4563.89
RF94.0683.7194.3483.99
KNN84.9875.6385.2475.89
CD3.
MethodsF1 scoreMCCDYIKappa
SVM81.2272.2881.4672.52
BLDA76.9868.5177.2168.74
DT83.9174.6884.1674.93
LR70.4564.9670.2264.59
RF94.8384.4095.1284.68
KNN86.1276.6586.3876.90
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

Usategui, I.; Arroyo, Y.; Torres, A.M.; Barbado, J.; Mateo, J. Systemic Lupus Erythematosus: How Machine Learning Can Help Distinguish between Infections and Flares. Bioengineering 2024, 11, 90. https://doi.org/10.3390/bioengineering11010090

AMA Style

Usategui I, Arroyo Y, Torres AM, Barbado J, Mateo J. Systemic Lupus Erythematosus: How Machine Learning Can Help Distinguish between Infections and Flares. Bioengineering. 2024; 11(1):90. https://doi.org/10.3390/bioengineering11010090

Chicago/Turabian Style

Usategui, Iciar, Yoel Arroyo, Ana María Torres, Julia Barbado, and Jorge Mateo. 2024. "Systemic Lupus Erythematosus: How Machine Learning Can Help Distinguish between Infections and Flares" Bioengineering 11, no. 1: 90. https://doi.org/10.3390/bioengineering11010090

APA Style

Usategui, I., Arroyo, Y., Torres, A. M., Barbado, J., & Mateo, J. (2024). Systemic Lupus Erythematosus: How Machine Learning Can Help Distinguish between Infections and Flares. Bioengineering, 11(1), 90. https://doi.org/10.3390/bioengineering11010090

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