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

Edison S Magalhães,Danyang Zhang,Cesar A A Moura,Giovani Trevisan,Derald J Holtkamp,Will A López,Chong Wang,Daniel C L Linhares,Gustavo S Silva
DOI: https://doi.org/10.1016/j.prevetmed.2024.106327
2024-08-30
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.
What problem does this paper attempt to address?