Development of a pig wean-quality score using machine-learning algorithms to characterize and classify groups with high mortality risk under field conditions.

Journal: Preventive veterinary medicine
PMID:

Abstract

Mortality during the post-weaning phase is a critical indicator of swine production system performance, influenced by a complex interaction of multiple factors of the epidemiological triad. This study leveraged retrospective data from 1723 groups of pigs marketed within a US swine production system to develop a Wean-Quality Score (WQS) using machine learning techniques. The study evaluated three machine learning models, Random Forest, Support Vector Machine, and Gradient Boosting Machine, to classify groups having high or low 60-day mortality, where high mortality groups represented 25 % of the groups among the study population with the highest mortality values (n=431; 60-day mortality=9.98 %), and the remaining 75 % of the groups were of low mortality (n=1292; 60-day mortality=2.75 %). The best-performing model, Random Forest (RF), outperformed the other ML models in terms of accuracy (0.90), sensitivity (0.84), and specificity (0.92) metrics, and was then selected for further analysis, which consisted of creating the WQS and ranking the most important factors for classifying groups as high or low mortality. The most important factors ranked through the RF model to classify groups with high mortality were pre-weaning mortality, weaning age, average parity of litters in sow farms, and PRRS status. Additionally, stocking conditions such as stocking density and time to fill the barn were important predictors of high mortality. The WQS was developed and correlated (r = 0.74) with the actual 60-day mortality of the groups, offering a valuable tool for assessing post-weaning survivability in swine production systems before weaning. This study highlights the potential of machine learning and comprehensive data utilization to improve the assessment and management of weaned pig quality in commercial swine production, which producers can utilize to identify and intervene in groups, according to the WQS.

Authors

  • Edison S Magalhães
    Department of Veterinary Diagnostic and Production Animal Medicine, College of Veterinary Medicine, Iowa State University, Ames, IA, USA.
  • Danyang Zhang
    Department of Statistics, College of Liberal Arts and Sciences, Iowa State University, Ames, IA, USA.
  • Cesar A A Moura
    Iowa Select Farms, Iowa Falls, IA, USA.
  • Giovani Trevisan
    Department of Veterinary Diagnostic and Production Animal Medicine, College of Veterinary Medicine, Iowa State University, Ames, IA, USA.
  • Derald J Holtkamp
    Department of Veterinary Diagnostic and Production Animal Medicine, Iowa State University College of Veterinary Medicine, 1600 South 16(th) St., Ames, IA 50011, United States. Electronic address: holtkamp@iastate.edu.
  • Will A López
    Pig Improvement Company (PIC), Hendersonville, TN, USA.
  • Chong Wang
    Shandong Xinhua Pharmaceutical Co., Ltd., No. 1, Lu Tai Road, High Tech Zone, Zibo 255199, China.
  • Daniel C L Linhares
    Veterinary Diagnostic and Production Animal Medicine Department, College of Veterinary Medicine, Iowa State University, Ames, Iowa, United States. Electronic address: linhares@iastate.edu.
  • Gustavo S Silva
    Veterinary Diagnostic and Production Animal Medicine Department, College of Veterinary Medicine, Iowa State University, Ames, Iowa, United States.