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
- Nattinee Kittiwan (ORCID: https://orcid.org/0000-0003-0601-1467)
- Terdsak Yano (ORCID: https://orcid.org/0000-0002-9717-233X)
- Wichittra Anukool
- Panuwat Yamsakul (ORCID: https://orcid.org/0000-0001-8981-6126)
- Kiettipoch Junchum
Institutions
- Department of Livestock Development (TH)
- Chiang Mai University (TH)
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
- Chiang Mai University
- Faculty of Veterinary Medicine, Chiang Mai University