Table 4

Test set precision, recall and F1 scores for each input variable combination when using previously unseen data obtained from the next 271 patients

Combination of input variableLung patternPrecision for test set (%)Recall for test set (%)F1 score for test set (%)
Biometrics with spirometry and plethysmographyNormal99.20±1.6990.40±8.9894.37±5.32
Obstructive96.60±7.1788.20±9.3991.94±7.11
Restrictive94.60±1.43100.0097.22±0.76
Obstructive and restrictive90.40±6.1388.00±6.5388.94±4.02
Biometrics with spirometryNormal99.50±1.5892.10±8.3195.51±5.29
Obstructive96.20±8.0792.20±5.9894.15±6.99
Restrictive94.60±0.97100.0097.22±0.52
Obstructive and restrictive91.80±5.4394.60±31.4591.53±11.83
Spirometry and plethysmographyNormal62.90±21.5344.00±11.7348.99±10.32
Obstructive28.30±21.1813.80±13.48Undefined
Restrictive79.50±6.5779.40±14.0978.80±8.22
Obstructive and restrictive48.40±8.5794.70±5.0863.63±7.34
SpirometryNormal44.00±11.1267.10±13.5351.76±8.17
Obstructive42.10±14.4353.40±34.7743.90±20.78
Restrictive75.20±8.2056.50±20.1262.87±17.40
Obstructive and restrictive39.40±27.8342.70±36.57Undefined
  • Mean±SD for the test sets of 10 experimental runs are shown. Data from the initial 477 patients were used for training and data from the next 271 patients were randomly assigned to the validation (136 patients) and test (135 patients) sets. For each experimental run, the model randomly selected one test per patient. Biometric variables are sex, age, height. Spirometry metrics included are FVC, FEV1, FEF25–75 and plethysmography metrics are RV and TLC. Undefined F1 score indicates that either precision, recall or both for that particular class was equal to zero for at least 1 of the 10 experimental runs.

  • FEF, forced mid-expiratory flow; FEV1, forced expiratory volume in 1 s; FVC, forced vital capacity; RV, residual volume; TLC, total lung capacity.