Digital auscultation with supervised machine learning (ML) may support objective calf lung-sound interpretation. This proof-of-concept study evaluated supervised ML using a curated multicenter dataset and leakage-aware validation. Digital lung-sound recordings were collected from pre-weaned dairy and dairy-cross- bred calves in Canada, Italy, and Sweden, using a standardized digital auscultation protocol and were independently reviewed by two observers, with discrepant initial classifications resolved by consensus. Of 1,360 recordings, 424 met the predefined audio-quality criteria; 39 were subsequently excluded under the acoustic inclusion criteria and five duplicate copies were removed, yielding 380 unique recordings for analysis. The 380 retained recordings were each assigned one of five single-label consensus acoustic categories: Normal sounds, Crackles, Wheezes, Increased Breath Sounds (IBrS), and Increased Bronchial Sounds (IBS). Recordings were partitioned into 304 training and 76 held-out internal test recordings, with all recordings from the same calf (ear-tag identifier) kept in the same partition. Feature sets and tree-based ML algorithms were evaluated using five-fold stratified group-aware cross-validation. The primary task distinguished Normal from Abnormal recordings, with Abnormal comprising recordings as- signed to Crackles, Wheezes, IBrS, or IBS. Two exploratory single-label multiclass tasks were evaluated secondarily: a three-class task comprising Normal sounds, Adventitious sounds (Crackles and Wheezes), and Increased sounds (IBrS and IBS), and a five-class task retaining the five individual consensus acoustic categories. On the held-out internal test set, a 94-feature non-amplitude Extra Trees classifier achieved accuracy of 0.816, balanced accuracy of 0.814, macro-F1 of 0.802, area under the ROC curve of 0.930, and average precision of 0.963; sensitivity and specificity for Abnormal recordings were 0.820 and 0.808. Exploratory three- and five-class macro-F1 values were 0.607 and 0.470, respec- tively. In this curated multicenter dataset, supervised ML showed promising discrimination between Normal and Abnormal calf lung-sound recordings under group-aware validation, whereas finer single-label acoustic-category classifica- tion remained less reliable. These findings warrant external validation of auto- mated lung-sound analysis as an objective aid for respiratory screening and health monitoring in pre-weaned dairy calves.
Leakage-aware supervised machine-learning classification of normal and abnormal calf lung-sound recordings: a proof-of-concept study / S. Ferraro, G.T.. - In: FRONTIERS IN ANIMAL SCIENCE. - ISSN 2673-6225. - 7:(2026 Nov 18), pp. 1966658.1-1966658.11. [10.3389/fanim.2026.1966658]
Leakage-aware supervised machine-learning classification of normal and abnormal calf lung-sound recordings: a proof-of-concept study
E. Gazzola;A. BoccardoUltimo
2026
Abstract
Digital auscultation with supervised machine learning (ML) may support objective calf lung-sound interpretation. This proof-of-concept study evaluated supervised ML using a curated multicenter dataset and leakage-aware validation. Digital lung-sound recordings were collected from pre-weaned dairy and dairy-cross- bred calves in Canada, Italy, and Sweden, using a standardized digital auscultation protocol and were independently reviewed by two observers, with discrepant initial classifications resolved by consensus. Of 1,360 recordings, 424 met the predefined audio-quality criteria; 39 were subsequently excluded under the acoustic inclusion criteria and five duplicate copies were removed, yielding 380 unique recordings for analysis. The 380 retained recordings were each assigned one of five single-label consensus acoustic categories: Normal sounds, Crackles, Wheezes, Increased Breath Sounds (IBrS), and Increased Bronchial Sounds (IBS). Recordings were partitioned into 304 training and 76 held-out internal test recordings, with all recordings from the same calf (ear-tag identifier) kept in the same partition. Feature sets and tree-based ML algorithms were evaluated using five-fold stratified group-aware cross-validation. The primary task distinguished Normal from Abnormal recordings, with Abnormal comprising recordings as- signed to Crackles, Wheezes, IBrS, or IBS. Two exploratory single-label multiclass tasks were evaluated secondarily: a three-class task comprising Normal sounds, Adventitious sounds (Crackles and Wheezes), and Increased sounds (IBrS and IBS), and a five-class task retaining the five individual consensus acoustic categories. On the held-out internal test set, a 94-feature non-amplitude Extra Trees classifier achieved accuracy of 0.816, balanced accuracy of 0.814, macro-F1 of 0.802, area under the ROC curve of 0.930, and average precision of 0.963; sensitivity and specificity for Abnormal recordings were 0.820 and 0.808. Exploratory three- and five-class macro-F1 values were 0.607 and 0.470, respec- tively. In this curated multicenter dataset, supervised ML showed promising discrimination between Normal and Abnormal calf lung-sound recordings under group-aware validation, whereas finer single-label acoustic-category classifica- tion remained less reliable. These findings warrant external validation of auto- mated lung-sound analysis as an objective aid for respiratory screening and health monitoring in pre-weaned dairy calves.| File | Dimensione | Formato | |
|---|---|---|---|
|
Leakage-aware supervised machine-learning classi cation of normal and abnormal calf lung-sound recordings- a proof-of-concept study.pdf
accesso aperto
Tipologia:
Publisher's version/PDF
Licenza:
Creative commons
Dimensione
772.97 kB
Formato
Adobe PDF
|
772.97 kB | Adobe PDF | Visualizza/Apri |
Pubblicazioni consigliate
I metadati presenti in AIR sono rilasciati con licenza CCO mentre i file delle pubblicazioni sono rilasciati con licenza CC BY-SA, salvo diversa indicazione. In caso di violazione di copyright, contattare l'assistenza di AIR




