Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Feb;37(1):201-210.
doi: 10.1007/s10877-022-00879-1. Epub 2022 Jun 13.

Pulmonary gas exchange evaluated by machine learning: a computer simulation

Affiliations

Pulmonary gas exchange evaluated by machine learning: a computer simulation

Thomas J Morgan et al. J Clin Monit Comput. 2023 Feb.

Abstract

Using computer simulation we investigated whether machine learning (ML) analysis of selected ICU monitoring data can quantify pulmonary gas exchange in multi-compartment format. A 21 compartment ventilation/perfusion (V/Q) model of pulmonary blood flow processed 34,551 combinations of cardiac output, hemoglobin concentration, standard P50, base excess, VO2 and VCO2 plus three model-defining parameters: shunt, log SD and mean V/Q. From these inputs the model produced paired arterial blood gases, first with the inspired O2 fraction (FiO2) adjusted to arterial saturation (SaO2) = 0.90, and second with FiO2 increased by 0.1. 'Stacked regressor' ML ensembles were trained/validated on 90% of this dataset. The remainder with shunt, log SD, and mean 'held back' formed the test-set. 'Two-Point' ML estimates of shunt, log SD and mean utilized data from both FiO2 settings. 'Single-Point' estimates used only data from SaO2 = 0.90. From 3454 test gas exchange scenarios, two-point shunt, log SD and mean estimates produced linear regression models versus true values with slopes ~ 1.00, intercepts ~ 0.00 and R2 ~ 1.00. Kernel density and Bland-Altman plots confirmed close agreement. Single-point estimates were less accurate: R2 = 0.77-0.89, slope = 0.991-0.993, intercept = 0.009-0.334. ML applications using blood gas, indirect calorimetry, and cardiac output data can quantify pulmonary gas exchange in terms describing a 20 compartment V/Q model of pulmonary blood flow. High fidelity reports require data from two FiO2 settings.

Keywords: Computer simulation; Gas exchange; Lung model; MIGET format; Machine learning.

PubMed Disclaimer

Conflict of interest statement

The authors declare that they have no competing interests.

Figures

Fig. 1
Fig. 1
Graphical illustration of modelled blood flow through 20 gas exchanging compartments plus a single shunt compartment (V/Q = 0). Shunt is set at 10% of total pulmonary blood flow. Note the log normal distribution of the non-shunt pulmonary blood flow according to compartment V/Q ratios. In this example log SD = 2.0 and flow distributional V/Q mean = 0.35
Fig. 2
Fig. 2
Shunt (single-point). Two subplots are illustrated. The Bland–Altman (BA) plot illustrates the 3454 points. For clarity, each point is horizontally jittered by ± 1% of the value of the independent variable. Horizontal plot lines indicate the median and 95% confidence interval for the difference (enumerated in Table 5). The kernel density estimate (KDE) plot illustrates the distribution of observations for the independent variable. The solid line is the true value of the variable with the dashed line indicating the modeled variable. Each subplot shares the same X-axis scale. Both X-axis units and the Y-axis units in the BA plot are defined by the independent variable. The Y-axis in the KDE plot is dimensionless
Fig. 3
Fig. 3
Shunt (two-point). Description as for Fig. 2
Fig. 4
Fig. 4
Mean (single-point). Description as for Fig. 2
Fig. 5
Fig. 5
Mean (two-point). Description as for Fig. 2
Fig. 6
Fig. 6
Log SD (single-point). Description as for Fig. 2
Fig. 7
Fig. 7
Log SD (two-point). Description as for Fig. 2

References

    1. West JB. Ventilation–perfusion inequality and overall gas exchange in computer models of the lung. Respir Physiol. 1969;7(1):88–110. doi: 10.1016/0034-5687(69)90071-1. - DOI - PubMed
    1. Farhi LE, Rahn H. A theoretical analysis of the alveolar-arterial O2 difference with special reference to the distribution effect. J Appl Physiol. 1955;7(6):699–703. doi: 10.1152/jappl.1955.7.6.699. - DOI - PubMed
    1. West JB. State of the art: ventilation–perfusion relationships. Am Rev Respir Dis. 1977;116(5):919–943. - PubMed
    1. West JB, Wagner PD. Pulmonary gas exchange. In: West JB, editor. Bioengineering aspects of the lung. New York: Marcel Dekker; 1977. pp. 361–457.
    1. Wagner PD. The multiple inert gas elimination technique (MIGET) Intensive Care Med. 2008;34(6):994–1001. doi: 10.1007/s00134-008-1108-6. - DOI - PubMed

Publication types

LinkOut - more resources