Machine Learning Techniques for the Analysis of the Influence of Blood Gasometry Parameters on Acid–Base Homeostasis in Pediatric Patients
Abstract
1. Introduction
2. Material and Methods
2.1. Characteristics of Patients and Analyzed Parameters
2.2. The Statistical Analysis
2.3. Artificial Neural Network Modeling and Biological Testing
2.4. LASSO Regression Analysis
2.5. Key Steps in the Machine Learning Analysis
3. Results
3.1. Gasometric Parameters
3.2. The Correlation Analysis
3.3. Neural Network Modeling and Biological Testing
3.3.1. pH
3.3.2. pO2
3.3.3. pCO2
3.3.4. cLac
3.4. LASSO Regression
4. Discussion
4.1. pH
4.2. pO2
4.3. pCO2
4.4. cLac
4.5. Clinical Impact
4.6. Challenges and Limitations
4.7. Biological Testing
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
| ANN | Artificial Neural Network |
| ARDS | Acute respiratory distress syndrome |
| cCl− | Chloride concentration |
| cK+ | Concentration of potassium |
| ctHb | Total concentration of hemoglobin |
| cLac | Concentration of lactate |
| cNa+ | Sodium concentration |
| FiO2 | Fraction of inspired oxygen |
| Fshunt | Fraction of the measured transpulmonary shunt |
| Hb | Hemoglobin |
| LASSO | Least Absolute Shrinkage and Selection Operator |
| MLP | Multilayer Perceptron |
| pCO2 | Partial pressure of CO2 |
| PEEP | Positive end-expiratory pressure |
| pO2 | Partial pressure of O2 |
| sO2 | Saturation |
References
- Severinghaus, J.W. The Invention and Development of Blood Gas Analysis Apparatus. Anesthesiology 2002, 97, 253–256. [Google Scholar] [CrossRef] [PubMed]
- Achanti, A.; Szerlip, H.M. Acid-Base Disorders in the Critically Ill Patient. Clin. J. Am. Soc. Nephrol. 2023, 18, 102–112. [Google Scholar] [CrossRef] [PubMed]
- Al-Jaghbeer, M.; Kellum, J.A. Acid-Base Disturbances in Intensive Care Patients: Etiology, Pathophysiology and Treatment. Nephrol. Dial. Transplant. 2015, 30, 1104–1111. [Google Scholar] [CrossRef]
- Radhakrishnan, S.; Nair, S.G.; Isaac, J. Multilayer Perceptron Neural Network Model Development for Mechanical Ventilator Parameters Prediction by Real Time System Learning. Biomed. Signal Process. Control 2022, 71, 103170. [Google Scholar] [CrossRef]
- Stewart, P.A. Modern Quantitative Acid-Base Chemistry. Can. J. Physiol. Pharmacol. 1983, 61, 1444–1461. [Google Scholar] [CrossRef]
- Esteva, A.; Robicquet, A.; Ramsundar, B.; Kuleshov, V.; DePristo, M.; Chou, K.; Cui, C.; Corrado, G.; Thrun, S.; Dean, J. A Guide to Deep Learning in Healthcare. Nat. Med. 2019, 25, 24–29. [Google Scholar] [CrossRef]
- Sznek, B.; Stasiak, A.; Czyrski, A. Design of Experiments and Artificial Neural Networks as Useful Tools in the Optimization of Analytical Procedure. Polim. Med. 2024, 54, 113–116. [Google Scholar] [CrossRef]
- Nowak, D. Study Designs in Medical Research and Their Key Characteristics. J. Med. Sci. 2024, 92, e928. [Google Scholar] [CrossRef]
- Ozdemir, H.; Sasmaz, M.I.; Guven, R.; Avci, A. Interpretation of Acid-Base Metabolism on Arterial Blood Gas Samples via Machine Learning Algorithms. Ir. J. Med. Sci. 2025, 194, 277–287. [Google Scholar] [CrossRef]
- Monir Vaghefi, S.Y.; Safi-Esfahani, F.; Fekri-Ershad, S.; Monir Vaghefi, S.M. From One-Dimensional to Multidimensional Map Neural Networks. Appl. Soft Comput. 2024, 167, 112457. [Google Scholar] [CrossRef]
- Imai, S.; Takekuma, Y.; Kashiwagi, H.; Miyai, T.; Kobayashi, M.; Iseki, K.; Sugawara, M. Validation of the Usefulness of Artificial Neural Networks for Risk Prediction of Adverse Drug Reactions Used for Individual Patients in Clinical Practice. PLoS ONE 2020, 15, e0236789. [Google Scholar] [CrossRef]
- Gucyetmez, B.; Gucyetmez, K.; Sarikaya, Z.T.; Telci, L. Independent Variables of pH: Ten Knights of the Hydrogen Ion Kingdom-Part I. A Prospective Observational Study. PLoS ONE 2024, 19, e0306756. [Google Scholar] [CrossRef] [PubMed]
- Szrama, J.; Smuszkiewicz, P. An Acid-Base Disorders Analysis with the Use of the Stewart Approach in Patients with Sepsis Treated in an Intensive Care Unit. Anaesthesiol. Intensive Ther. 2016, 48, 180–184. [Google Scholar] [CrossRef][Green Version]
- Mrozik, L.T.; Yung, M. Hyperchloraemic Metabolic Acidosis Slows Recovery in Children with Diabetic Ketoacidosis: A Retrospective Audit. Aust. Crit. Care 2009, 22, 172–177. [Google Scholar] [CrossRef]
- Seheult, J.; Fitzpatrick, G.; Boran, G. Lactic Acidosis: An Update. Clin. Chem. Lab. Med. 2017, 55, 322–333. [Google Scholar] [CrossRef] [PubMed]
- Seeger, C.; Higgins, C. Acute Care Testing Handbook; Radiometer MedicaL ApS: Copenhagen, Denmark, 2014. [Google Scholar]
- Binks, A. Arterial PCO2 and pH; Virginia Tech: Blacksburg, VA, USA, 2022. [Google Scholar]
- 9.3: Acid-Base Balance. Available online: https://chem.libretexts.org/Courses/Roosevelt_University/General_Organic_and_Biochemistry_with_Problems_Case_Studies_and_Activities/09%3A_Acids_and_Bases/9.03%3A_Acid-Base_Balance (accessed on 17 July 2025).
- Lechner, A.J. Alveolar O2 and CO2 Exchange, Physiological Shunt, and Acid-Base Balance. In Respiratory: An Integrated Approach to Disease; Lechner, A.J., Matuschak, G.M., Brink, D.S., Eds.; McGraw-Hill Education: New York, NY, USA, 2012. [Google Scholar]
- Lango, R.; Szkulmowski, Z.; Maciejewski, D.; Sosnowski, A.; Kusza, K. Revised Protocol of Extracorporeal Membrane Oxygenation (ECMO) Therapy in Severe ARDS. Recommendations of the Veno-Venous ECMO Expert Panel Appointed in February 2016 by the National Consultant on Anesthesiology and Intensive Care. Anaesthesiol. Intensive Ther. 2017, 49, 92–104. [Google Scholar] [CrossRef]
- Benner, A.; Patel, A.K.; Singh, K.; Dua, A. Physiology, Bohr Effect. In StatPearls; StatPearls Publishing: Treasure Island, FL, USA, 2025. [Google Scholar]
- Dhondup, T.; Qian, Q. Acid-Base and Electrolyte Disorders in Patients with and without Chronic Kidney Disease: An Update. Kidney Dis. 2017, 3, 136–148. [Google Scholar] [CrossRef]
- Lindner, G.; Schwarz, C.; Grüssing, H.; Kneidinger, N.; Fazekas, A.; Funk, G.-C. Rising Serum Sodium Levels Are Associated with a Concurrent Development of Metabolic Alkalosis in Critically Ill Patients. Intensive Care Med. 2013, 39, 399–405. [Google Scholar] [CrossRef]
- Choo, S.J.; Lee, H.G.; Kim, C.J.; Yang, E.M. Severe Hypernatremia in Soft Drink Ketoacidosis and Hyperglycemic Hyperosmolar State at the Onset of Type 2 Diabetes Mellitus: A Case Series of Three Adolescents. Clin. Pediatr. Endocrinol. 2022, 31, 81–86. [Google Scholar] [CrossRef]
- Nozawa, H.; Tsuboi, N.; Nariai, R.; Nishimura, N.; Nakagawa, S. Effect of Sodium-Chloride Ion Difference on pH Regulation. Clin. Biochem. 2021, 96, 75–77. [Google Scholar] [CrossRef] [PubMed]
- Barker, M.E. 0.9% Saline Induced Hyperchloremic Acidosis. J. Trauma Nurs. 2015, 22, 111–116. [Google Scholar] [CrossRef]
- Harris, A.N.; Grimm, P.R.; Lee, H.-W.; Delpire, E.; Fang, L.; Verlander, J.W.; Welling, P.A.; Weiner, I.D. Mechanism of Hyperkalemia-Induced Metabolic Acidosis. J. Am. Soc. Nephrol. 2018, 29, 1411–1425. [Google Scholar] [CrossRef]
- Villar, J.; Fernández, C.; González-Martín, J.M.; Ferrando, C.; Añón, J.M.; del Saz-Ortíz, A.M.; Díaz-Lamas, A.; Bueno-González, A.; Fernández, L.; Domínguez-Berrot, A.M.; et al. Respiratory Subsets in Patients with Moderate to Severe Acute Respiratory Distress Syndrome for Early Prediction of Death. J. Clin. Med. 2022, 11, 5724. [Google Scholar] [CrossRef]
- Principles and Practice of Mechanical Ventilation, 3e. Access Medicine. McGraw Hill Medical. Available online: https://accessmedicine.mhmedical.com/book.aspx?bookid=520 (accessed on 17 July 2025).
- DesPrez, K.; McNeil, J.B.; Wang, C.; Bastarache, J.A.; Shaver, C.M.; Ware, L.B. Oxygenation Saturation Index Predicts Clinical Outcomes in ARDS. Chest 2017, 152, 1151–1158. [Google Scholar] [CrossRef] [PubMed]
- Mayor, N.; Knights, H.; Kotwica, A.; Coppola, A.S.J.; Hunter, H.; Jeffreys, N.; Morgan, A.; Gupta, S.; Prentice, J.; Macfarlane, R.; et al. Intrapulmonary Shunting Is a Key Contributor to Hypoxia in COVID-19: An Update on the Pathophysiology. PLoS ONE 2022, 17, e0273402. [Google Scholar] [CrossRef] [PubMed]
- Sarkar, M.; Niranjan, N.; Banyal, P. Mechanisms of Hypoxemia. Lung India 2017, 34, 47–60. [Google Scholar] [CrossRef] [PubMed]
- Wagner, P.D.; Malhotra, A.; Prisk, G.K. Using Pulmonary Gas Exchange to Estimate Shunt and Deadspace in Lung Disease: Theoretical Approach and Practical Basis. J. Appl. Physiol. 2022, 132, 1104–1113. [Google Scholar] [CrossRef]
- Doyle, J.; Cooper, J.S. Physiology, Carbon Dioxide Transport. In StatPearls; StatPearls Publishing: Treasure Island, FL, USA, 2025. [Google Scholar]
- Savi, A.; Gasparetto Maccari, J.; Frederico Tonietto, T.; Peçanha Antonio, A.C.; Pinheiro de Oliveira, R.; de Mello Rieder, M.; Zignani, E.C.; Boschi da Silva, É.; Teixeira, C. Influence of FIO2 on PaCO2 during Noninvasive Ventilation in Patients with COPD. Respir. Care 2014, 59, 383–387. [Google Scholar] [CrossRef]
- Teboul, J.-L.; Scheeren, T. Understanding the Haldane Effect. Intensive Care Med. 2017, 43, 91–93. [Google Scholar] [CrossRef]
- Fuentes, S.; Chowdhury, Y.S. Fraction of Inspired Oxygen. In StatPearls; StatPearls Publishing: Treasure Island, FL, USA, 2025. [Google Scholar]
- Cabrera, M.E.; Saidel, G.M.; Kalhan, S.C. Role of O2 in Regulation of Lactate Dynamics during Hypoxia: Mathematical Model and Analysis. Ann. Biomed. Eng. 1998, 26, 1–27. [Google Scholar] [CrossRef]
- Bisarya, R.; Shaath, D.; Pirzad, A.; Satterwhite, L.; He, J.; Simpson, S.Q. Serum Lactate Poorly Predicts Central Venous Oxygen Saturation in Critically Ill Patients: A Retrospective Cohort Study. J. Intensive Care 2019, 7, 47. [Google Scholar] [CrossRef]
- Adrogué, H.J.; Madias, N.E. Management of Life-Threatening Acid-Base Disorders. Second of Two Parts. N. Engl. J. Med. 1998, 338, 107–111. [Google Scholar] [CrossRef]
- Maciel, A.T.; Park, M. Unmeasured Anions Account for Most of the Metabolic Acidosis in Patients with Hyperlactemia. Clinics 2007, 62, 55–62. [Google Scholar] [CrossRef] [PubMed][Green Version]
- Homilius, C.; Seefeldt, J.M.; Hansen, J.; Nielsen, R.; de Paoli, F.V.; Boedtkjer, E. Lactate Orchestrates Metabolic Hemodynamic Adaptations through a Unique Combination of Venocontraction, Artery Relaxation, and Positive Inotropy. Acta Physiol. 2025, 241, e70037. [Google Scholar] [CrossRef] [PubMed]
- Gray, G.M.; Ahumada, L.M.; Rehman, M.A.; Varughese, A.; Fernandez, A.M.; Fackler, J.; Yates, H.M.; Habre, W.; Disma, N.; Lonsdale, H. A Machine-Learning Approach for Decision Support and Risk Stratification of Pediatric Perioperative Patients Based on the APRICOT Dataset. Paediatr. Anaesth. 2023, 33, 710–719. [Google Scholar] [CrossRef] [PubMed]
- Guo, Y.; Li, L.; Zheng, K.; Du, J.; Nie, J.; Wang, Z.; Hao, Z. Development and Validation of a Survival Prediction Model for Patients with Advanced Non-Small Cell Lung Cancer Based on LASSO Regression. Front. Immunol. 2024, 15, 1431150. [Google Scholar] [CrossRef]
- Antel, R.; Sahlas, E.; Gore, G.; Ingelmo, P. Use of Artificial Intelligence in Paediatric Anaesthesia: A Systematic Review. BJA Open 2023, 5, 100125. [Google Scholar] [CrossRef]
- Mehraeen, E.; Siami, H.; Montazeryan, S.; Molavi, R.; Feyzabadi, A.; Parvizy, I.; Masjedlu, Z.A.; Dehkalani, M.N.; Mahmoudi, S.; Ahmadipour, A. Artificial Intelligence Challenges in the Healthcare Industry: A Systematic Review of Recent Evidence. Healthc. Technol. Lett. 2025, 12, e70017. [Google Scholar] [CrossRef]
- Doyen, S.; Dadario, N.B. 12 Plagues of AI in Healthcare: A Practical Guide to Current Issues with Using Machine Learning in a Medical Context. Front. Digit. Health 2022, 4, 765406. [Google Scholar] [CrossRef]
- Ethical Considerations and Robustness of Artificial Neural Networks in Medical Image Analysis under Data Corruption. Scientific Reports. Available online: https://www.nature.com/articles/s41598-025-15268-2 (accessed on 21 November 2025).
- Geng, W.; Tang, H.; Sharma, A.; Zhao, Y.; Yan, Y.; Hong, W. An Artificial Neural Network Model for Prediction of Hypoxemia During Sedation for Gastrointestinal Endoscopy. J. Int. Med. Res. 2019, 47, 2097–2103. [Google Scholar] [CrossRef]




| Variable | Mean ± SD | Median | Minimum | Maximum |
|---|---|---|---|---|
| FiO2 [%] | 44.28 ± 20.86 | 40.00 | 21.00 | 100.00 |
| pH | 7.42 ± 0.09 | 7.43 | 6.91 | 7.59 |
| pCO2 [mmol/L] | 41.16 ± 8.36 | 40.75 | 2.70 | 83.30 |
| pO2 [mmHg] | 115.76 ± 42.94 | 108.00 | 6.90 | 308.00 |
| ctHb [g/dL] | 11.49 ± 2.46 | 11.10 | 6.80 | 41.40 |
| sO2 [%] | 97.75 ± 4.08 | 99.00 | 68.00 | 100.0 |
| cK+ [mmol/L] | 3.73 ± 0.60 | 3.70 | 1.90 | 7.30 |
| cNa+ [mmol/L] | 141.15 ± 4.97 | 140.00 | 126.00 | 159.00 |
| cCl− [mmol/L] | 105.72 ± 6.34 | 105.00 | 89.00 | 125.00 |
| cLac [mmol/L] | 1.49 ± 1.95 | 0.90 | 0.30 | 17.00 |
| pO2/FiO2 [mmHg] | 310.91 ± 163.33 | 320.00 | 32.80 | 1234.00 |
| Fshunt [%] | 11.63 ± 11.13 | 8.10 | 0.00 | 52.20 |
| Variable | FiO2 | pH | pCO2 | pO2 | ctHb | sO2 | cK+ | cNa+ | cCl− | cLac | pO2/FiO2 | Fshunt |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| pH | −0.189 | 1.000 | −0.489 | −0.021 | 0.047 | 0.211 | −0.354 | −0.137 | −0.310 | −0.421 | 0.173 | −0.215 |
| pO2 | −0.074 | −0.021 | −0.121 | 1.000 | −0.132 | 0.567 | 0.016 | −0.032 | 0.014 | −0.001 | 0.591 | −0.533 |
| pCO2 | 0.233 | −0.489 | 1.000 | −0.121 | 0.009 | −0.196 | 0.098 | 0.042 | −0.237 | −0.117 | −0.352 | 0.284 |
| cLac | 0.182 | −0.421 | −0.117 | −0.001 | −0.021 | −0.241 | 0.382 | 0.152 | 0.198 | 1.000 | −0.118 | 0.198 |
| pH | pO2 | pCO2 | cLac | ||||
|---|---|---|---|---|---|---|---|
| Variable | Rank | Variable | Rank | Variable | Rank | Variable | Rank |
| cCl− | 4.0085 | pO2/FiO2 | 29.7513 | Fshunt | 8.8687 | pH | 3.0156 |
| pCO2 | 3.9872 | FiO2 | 22.6468 | pO2/FiO2 | 4.5329 | pCO2 | 2.4469 |
| cNa+ | 2.1979 | Fshunt | 2.8196 | cCl− | 3.9112 | Fshunt | 2.0705 |
| cLac | 1.9464 | sO2 | 1.1220 | pH | 3.5341 | pO2/FiO2 | 1.8647 |
| pO2/FiO2 | 1.3188 | pH | 1.0571 | cNa+ | 2.2918 | FiO2 | 1.8644 |
| sO2 | 1.2463 | pCO2 | 1.0312 | FiO2 | 2.1653 | cK+ | 1.5499 |
| Fshunt | 1.2354 | cCl− | 1.0248 | cLac | 1.6521 | cCl− | 1.4644 |
| FiO2 | 1.1535 | cNa+ | 1.0085 | sO2 | 1.5504 | sO2 | 1.4076 |
| pO2 | 1.1392 | cK+ | 1.0074 | pO2 | 1.1285 | pO2 | 1.2642 |
| cK+ | 1.1102 | cLac | 1.0035 | ctHb | 1.1140 | cNa+ | 1.1774 |
| ctHb | 1.0208 | ctHb | 1.0026 | cK+ | 1.0577 | ctHb | 1.1193 |
| pH (λ = 0.0645) | pO2 (λ = 0.0504) | pCO2 (λ = 0.0270) | cLac (λ = 0.0642) | |||||
|---|---|---|---|---|---|---|---|---|
| Factor | Coefficient | Factor | Coefficient | Factor | Coefficient | Factor | Coefficient | |
| Intercept | 0.0079 | Intercept | 0.1062 | Intercept | −0.0288 | Intercept | −0.0251 | |
| pCO2 | −1.4616 | FiO2 | 0.4827 | pH | −0.2298 | FiO2 | 0.0384 | |
| pO2 | −0.0058 | pH | −0.0640 | cNa+ | 0.2124 | pH | −0.3354 | |
| cK+ | −0.0693 | pCO2 | 0.0171 | cCl− | −0.2316 | pCO2 | −0.6246 | |
| cNa+ | 0.3990 | sO2 | 0.3066 | cLac | −0.1132 | sO2 | −0.1030 | |
| cCl− | −0.5592 | cCl− | −0.0115 | pO2/FiO2 | −0.0821 | cK+ | 0.1440 | |
| cLac | −0.3799 | pO2/FiO2 | 1.0699 | cNa+ | 0.0396 | |||
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. |
© 2025 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Dybała, M.; Bartkowska-Śniatkowska, A.; Pietrzkiewicz, K.; Wiernik, A.; Rosada-Kurasińska, J.; Piontek, T.; Oleksiak, A.; Czyrski, A. Machine Learning Techniques for the Analysis of the Influence of Blood Gasometry Parameters on Acid–Base Homeostasis in Pediatric Patients. Diagnostics 2025, 15, 3166. https://doi.org/10.3390/diagnostics15243166
Dybała M, Bartkowska-Śniatkowska A, Pietrzkiewicz K, Wiernik A, Rosada-Kurasińska J, Piontek T, Oleksiak A, Czyrski A. Machine Learning Techniques for the Analysis of the Influence of Blood Gasometry Parameters on Acid–Base Homeostasis in Pediatric Patients. Diagnostics. 2025; 15(24):3166. https://doi.org/10.3390/diagnostics15243166
Chicago/Turabian StyleDybała, Maria, Alicja Bartkowska-Śniatkowska, Krzysztof Pietrzkiewicz, Anna Wiernik, Jowita Rosada-Kurasińska, Tomasz Piontek, Ariel Oleksiak, and Andrzej Czyrski. 2025. "Machine Learning Techniques for the Analysis of the Influence of Blood Gasometry Parameters on Acid–Base Homeostasis in Pediatric Patients" Diagnostics 15, no. 24: 3166. https://doi.org/10.3390/diagnostics15243166
APA StyleDybała, M., Bartkowska-Śniatkowska, A., Pietrzkiewicz, K., Wiernik, A., Rosada-Kurasińska, J., Piontek, T., Oleksiak, A., & Czyrski, A. (2025). Machine Learning Techniques for the Analysis of the Influence of Blood Gasometry Parameters on Acid–Base Homeostasis in Pediatric Patients. Diagnostics, 15(24), 3166. https://doi.org/10.3390/diagnostics15243166

