Related Experiment Video
Updated: Sep 17, 2025

Asthma Detection Research Based on Voice Signal Processing and Machine Learning
Published on: July 22, 2025
Estimation of Static Lung Volumes and Capacities From Spirometry Using Machine Learning: Algorithm Development and
Scott A Helgeson1, Zachary S Quicksall2, Patrick W Johnson2
1Division of Pulmonary and Critical Care Medicine, Mayo Clinic, 4500 San Pablo Road S, Jacksonville, FL, 32224, United States, 1 9049532000.
Background:
Spirometry can be performed in an office setting or remotely using portable spirometers. Although basic spirometry is used for diagnosis of obstructive lung disease, clinically relevant information such as restriction, hyperinflation, and air trapping require additional testing, such as body plethysmography, which is not as readily available. We hypothesize that spirometry data contains information that can allow estimation of static lung volumes in certain circumstances by leveraging machine learning techniques.
Objective:
The aim of the study was to develop artificial intelligence-based algorithms for estimating lung volumes and capacities using spirometry measures.
Methods:
This study obtained spirometry and lung volume measurements from the Mayo Clinic pulmonary function test database for patient visits between February 19, 2001, and December 16, 2022. Preprocessing was performed, and various machine learning algorithms were applied, including a generalized linear model with regularization, random forests, extremely randomized trees, gradient-boosted trees, and XGBoost for both classification and regression cohorts.
Results:
A total of 121,498 pulmonary function tests were used in this study, with 85,017 allotted for exploratory data analysis and model development (ie, training dataset) and 36,481 tests reserved for model evaluation (ie, testing dataset). The median age of the cohort was 64.7 years (IQR 18-119.6), with a balanced distribution between genders, consisting 48.2% (n=58,607) female and 51.8% (n=62,889) male patients. The classification models showed a robust performance overall, with relatively low root mean square error and mean absolute error values observed across all predicted lung volumes. Across all lung volume categories, the models demonstrated strong discriminatory capacity, as indicated by the high area under the receiver operating characteristic curve values ranging from 0.85 to 0.99 in the training set and 0.81 to 0.98 in the testing set.
Conclusions:
Overall, the models demonstrate robust performance across lung volume measurements, underscoring their potential utility in clinical practice for accurate diagnosis and prognosis of respiratory conditions, particularly in settings where access to body plethysmography or other lung volume measurement modalities is limited.
More Related Videos
03:38Unilateral Lung Volume Analysis Using Micro-CT for Enhanced Assessment of Pulmonary Fibrosis in Preclinical Models
Published on: June 20, 2025
08:25Combining Volumetric Capnography And Barometric Plethysmography To Measure The Lung Structure-function Relationship
Published on: January 8, 2019
Related Concept Videos
Lung Capacity
Respiratory Volumes
Tidal Volume (TV) Tidal volume (TV) is the air inhaled or exhaled in a...
Respiratory Volumes and Capacities
Respiratory Volumes and Capacities I
Pulmonary Function Tests
Pulmonary Function Tests are crucial diagnostic tools for assessing respiratory function, particularly in patients with chronic respiratory disorders. They comprehensively evaluate lung volumes, ventilatory function, breathing mechanics, diffusion, and gas exchange. These tests help diagnose pulmonary diseases and play a significant role in monitoring disease progression, evaluating disability, and assessing response to therapy.
PFTs involve using a spirometer, a...
Respiratory Capacities
One key metric is the Inspiratory Capacity (IC), which represents the maximum amount of air that can be inhaled with full effort. IC is calculated by summing the tidal volume and inspiratory reserve volume, typically ranging from 2.4 to 3.6 liters.
The Functional Residual Capacity (FRC) represents the air in the...