Machine Learning-Based Detection of Pig Coughs and Their Association with Respiratory Diseases in Fattening Pigs

Respiratory infections are a major concern in pig farming as they negatively impact animal health and productivity. Coughing is a key symptom of respiratory disease and can be classified as productive or non-productive, but human assessment often leads to inconsistencies. This study aimed to use a machine learning model to classify pig coughs and investigate their association with respiratory infections. Cough sounds from 49 fattening pigs were recorded and analyzed using a Python-based machine learning system. The model's accuracy in detecting coughs was 0.72, compared to 0.69 for farmers. For classification of non-productive coughs, the machine learning results showed strong agreement with infection status by <i>Mycoplasma hyopneumoniae</i>, with a Spearman's correlation of 0.80 and a Cohen's Kappa of 0.79. However, the association with Porcine Circovirus type 2 was weak, with correlation and Kappa values of 0.05 and 0.037, respectively. These findings indicate that machine learning can classify pig coughs more accurately than human evaluators and that non-productive coughs are strongly linked to Mycoplasma infection but not to PCV2. This suggests the potential use of machine learning for more reliable disease monitoring and early detection in swine production.

Authors

Institutions

Publication Details

Journal
Veterinary Sciences
Published
2025-08-26
DOI
https://doi.org/10.3390/vetsci12090818
Citations
1
Primary Topic
Microbial infections and disease research
Type
article
Field-Weighted Citation Impact
1.18

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine Learning-Based Detection of Pig Coughs and Their Association with Respiratory Diseases in Fattening Pigs

Nattinee Kittiwan, Terdsak Yano, Wichittra Anukool, Panuwat Yamsakul et al.
1 citations
Veterinary Sciences
Microbial infections and disease research
1.18
article

Machine Learning-Based Detection of Pig Coughs and Their Association with Respiratory Diseases in Fattening Pigs

Nattinee Kittiwan, Terdsak Yano, Wichittra Anukool, Panuwat Yamsakul, Kiettipoch Junchum
article en
1 citations

Abstract

Respiratory infections are a major concern in pig farming as they negatively impact animal health and productivity. Coughing is a key symptom of respiratory disease and can be classified as productive or non-productive, but human assessment often leads to inconsistencies. This study aimed to use a machine learning model to classify pig coughs and investigate their association with respiratory infections. Cough sounds from 49 fattening pigs were recorded and analyzed using a Python-based machine learning system. The model's accuracy in detecting coughs was 0.72, compared to 0.69 for farmers. For classification of non-productive coughs, the machine learning results showed strong agreement with infection status by <i>Mycoplasma hyopneumoniae</i>, with a Spearman's correlation of 0.80 and a Cohen's Kappa of 0.79. However, the association with Porcine Circovirus type 2 was weak, with correlation and Kappa values of 0.05 and 0.037, respectively. These findings indicate that machine learning can classify pig coughs more accurately than human evaluators and that non-productive coughs are strongly linked to Mycoplasma infection but not to PCV2. This suggests the potential use of machine learning for more reliable disease monitoring and early detection in swine production.

Veterinary SciencesVol. 12(9)
Department of Livestock Development (TH), Chiang Mai University (TH)
Chiang Mai University, Faculty of Veterinary Medicine, Chiang Mai University
Openalex Percentile: Top 18%
Microbial infections and disease research
1.18
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.