Submitted:
28 April 2026
Posted:
29 April 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
Gap Analysis and Research Motivation
- Reliance on delayed conventional diagnostics:
- Limited focus on early prediction:
- Lack of multimodal data integration:
- Absence of explainability:
- Insufficient validation strategies:
- Limited clinical applicability:
Proposed Contribution
- Use of advanced ensemble learning models, especially XGBoost, to provide better predictive performance [6].
- Addition of SHAP-based explainable artificial intelligence (XAI) to provide transparent and clinically interpretable insights [10].
- Use of powerful validation methods, such as stratified cross-validation and balancing of classes. The proposed framework helps overcome the gap between machine learning innovation and clinical usability by offering predictive accuracy and interpretability to facilitate early diagnosis, enhance decision-making, and improve patient outcomes.
Originality of the Research
2. Materials and Methods
2.1. Study Design and Data Sources
- Demographic variables: age, gender
- Clinical parameters: blood pressure, hemoglobin
- Comorbidities: diabetes mellitus, hypertension
- Dialysis-related indicators: ultrafiltration rate, dialysis characteristics
- Infection markers: white blood cell (WBC) count, effluent turbidity, body temperature
2.1.1. Dataset Source, Ethical Approval, and Data Availability
2.2. Data Preprocessing
2.3. Engineering and Selection of Features
- Correlation to determine linear relationships.
- Mutual information to obtain nonlinear dependencies.
- Principal Component Analysis (PCA) to decrease the dimensions and reduce multicollinearity.
2.4. Machine Learning Models
- Logistic Regression (LR): base probabilistic model.
- Random Forest (RF): bagging based on an ensemble technique.
- Support Vector Machine (SVM): works well with high dimensional data.
- Extreme Gradient Boosting (XGBoost): a state-of-the-art boosting model of structured data.
2.5. Training and Validation of the Model
2.6. Performance Evaluation Metrics
- Accuracy
- Precision
- Recall (Sensitivity)
- F1-score
- ROC-AUC
2.7. Explainable Artificial Intelligence (XAI)
- Globally interpretable: total feature significance;
- Local explanations: instance-level explanations.
2.8. Implementation Environment
- Scikit-learn
- XGBoost
- Pandas and NumPy
- Matplotlib and Seaborn
3. Results
3.1. Dataset Overview
| Parameter | Clinical Significance | Mean ± SD | Minimum | Maximum |
|---|---|---|---|---|
| WBC Count (×109/L) | Infection indicator | 11.2 ± 4.5 | 3.1 | 24.8 |
| Hemoglobin (g/dL) | Anemia status | 10.1 ± 1.8 | 6.5 | 14.2 |
| Systolic BP (mmHg) | Cardiovascular parameter | 132 ± 18 | 90 | 180 |
| Diastolic BP (mmHg) | Cardiovascular parameter | 82 ± 12 | 60 | 110 |
| Serum Creatinine (mg/dL) | Kidney function | 8.6 ± 3.2 | 2.1 | 15.4 |
| Albumin (g/dL) | Nutritional status | 3.4 ± 0.6 | 2.0 | 4.8 |
| Effluent Turbidity | Dialysis fluid clarity | 2.8 ± 1.1 | 1 | 5 |
| Diabetes (0/1) | Comorbidity | - | 0 | 1 |
| WBC Count (×109/L) | Infection indicator | 11.2 ± 4.5 | 3.1 | 24.8 |
Statistical Analysis
3.2. Model Performance Comparision
Performance Analysis
3.3. Cross-Validation Results
- Logistic Regression: 84.8% (±1.5%)
- Support Vector Machine: 87.9% (±1.3%)
- Random Forest: 90.8% (±1.1%)
- XGBoost:92.6% (±0.9%)
Performance Interpretation
3.4. Feature Importance Analysis
3.5. Explainability Analysis (SHAP)
Global Interpretation
- Effluent turbidity has a good positive contribution indicating that it is directly related to peritoneal infection. An elevation in the level of turbidity substantially changes the outcome towards prediction of infection.
- Infection probability has a monotonic relationship with body temperature with higher temperatures making a positive contribution to predicting infection.
- Blood pressure has a more diffused effect, which is indicative of indirect or context-dependent effects.
- The diabetes status positively affects the risk of infection, which means that it is a comorbidity modifying immune response.
Feature Interaction Effects
- The joint effect of a high level of WBC count and high turbidity leads to nonlinear increase of the risk of infection.
- There has been an interaction between diabetes status and the level of WBC with diabetic patients with high WBC levels being disproportionately at risk.
- The influence of some features, e.g., blood pressure, is context-dependent, adding different values based on other features. The effects of these interactions underscore the drawbacks of linear models and explain the high performance of the ensemble methods like XGBoost.
3.6. ROC Curve Analysis
Performance Interpretation
- AUC = 0.95 (XGBoost)→ Excellent performance.
- AUC = 0.92 (Random Forest) -Very good performance.
- AUC = 0.89 (SVM)→ Good performance
- AUC = 0.86 (Logistic Regression)→ Mediocre performance.
3.7. Comparative Study with the Traditional Diagnostic Techniques.
Comparative Evaluation
- Rapid Prediction:
- Early Detection Capability:
- Reduced Manual Dependency:
- Scalability and Automation:
Clinical Significance
4. Discussion
4.1. Interpretation of Key Findings
4.2. Clinical Relevance of Feature Identified
4.3. Explainable Artificial Intelligence Role
4.4. Comparison with Conventional Diagnostic Approaches
4.5. Practical Implications
5. Conclusions
6. Future Work
References
- D. W. Johnson, B. J. Cho, and S. Badve, “Peritoneal dialysis-related peritonitis: Towards improving evidence, practices, and outcomes,” Am. J. Kidney Dis., vol. 64, no. 2, pp. 278–289, 2014.
- B. Piraino et al., “ISPD position statement on reducing the risks of peritoneal dialysis-related infections,” Perit. Dial. Int., vol. 31, no. 6, pp. 614–630, 2011.
- M. Li et al., “Peritoneal dialysis-related infections recommendations: 2016 update,” Perit. Dial. Int., vol. 36, no. 5, pp. 481–508, 2016.Author 1, A.B.; Author 2, C. Title of Unpublished Work. Abbreviated Journal Name year, phrase indicating stage of publication (submitted; accepted; in press).
- T. H. Davenport and R. Kalakota, “The potential for artificial intelligence in healthcare,” Future Healthc. J., vol. 6, no. 2, pp. 94–98, 2019.Author 1, A.B.; Author 2, C.D.; Author 3, E.F. Title of Presentation. In Proceedings of the Name of the Conference, Location of Conference, Country, Date of Conference (Day Month Year).
- E. J. Topol, “High-performance medicine: The convergence of human and artificial intelligence,” Nat. Med., vol. 25, pp. 44–56, 2019.
- T. Chen and C. Guestrin, “XGBoost: A scalable tree boosting system,” in Proc. ACM SIGKDD Int. Conf. Knowl. Discov. Data Min., 2016, pp. 785–794.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.
- L. Breiman, “Random forests,” Mach. Learn., vol. 45, no. 1, pp. 5–32, 2001.
- C. Cortes and V. Vapnik, “Support-vector networks,” Mach. Learn., vol. 20, no. 3, pp. 273–297, 1995.
- D. W. Hosmer, S. Lemeshow, and R. X. Sturdivant, Applied Logistic Regression, 3rd ed. Hoboken, NJ, USA: Wiley, 2013.
- S. M. Lundberg and S.-I. Lee, “A unified approach to interpreting model predictions,” in Adv. Neural Inf. Process. Syst. (NeurIPS), 2017.
- Z. Obermeyer and E. J. Emanuel, “Predicting the future—big data, machine learning, and clinical medicine,” N. Engl. J. Med., vol. 375, no. 13, pp. 1216–1219, 2016.
- J. Esteva et al., “A guide to deep learning in healthcare,” Nat. Med., vol. 25, pp. 24–29, 2019.
- A. Rajkomar, J. Dean, and I. Kohane, “Machine learning in medicine,” N. Engl. J. Med., vol. 380, no. 14, pp. 1347–1358, 2019.
- F. Doshi-Velez and B. Kim, “Towards a rigorous science of interpretable machine learning,” arXiv:1702.08608, 2017.
- J. W. Tukey, Exploratory Data Analysis. Reading, MA, USA: Addison-Wesley, 1977.
- T. M. Cover and J. A. Thomas, Elements of Information Theory, 2nd ed. Hoboken, NJ, USA: Wiley, 2006.
- T. Jolliffe, Principal Component Analysis, 2nd ed. New York, NY, USA: Springer, 2002.
- T. Hastie, R. Tibshirani, and J. Friedman, The Elements of Statistical Learning, 2nd ed. New York, NY, USA: Springer, 2009.
- R. Kohavi, “A study of cross-validation and bootstrap for accuracy estimation,” in Proc. Int. Joint Conf. Artif. Intell. (IJCAI), 1995, pp. 1137–1143.
- T. Fawcett, “An introduction to ROC analysis,” Pattern Recognit. Lett., vol. 27, no. 8, pp. 861–874, 2006.
- A. L. Goldberger et al., “PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals,” Circulation, vol. 101, no. 23, pp. e215–e220, 2000. [CrossRef] [PubMed]







| Model | Accuracy (%) | Precision (%) | Recall (Sensitivity) (%) | F1 Score (%) | ROC-AUC |
| Logistic Regression | 85.2 | 83.6 | 82.9 | 83.2 | 0.86 |
| Support Vector Machine | 88.4 | 87.1 | 86.5 | 86.8 | 0.89 |
| Random Forest | 91.3 | 89.7 | 90.2 | 89.9 | 0.92 |
| XGBoost | 93.1 | 91.5 | 92.4 | 91.9 | 0.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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).