A machine learning system to evaluate physiological parameters and heat stress for sows in gestation crates
• Accurate machine learning models to predict the physiological parameters of a sow. • XGBoost got good performance in predicting sow’s physiological parameters. • The heat stress threshold for sow was established to help make early warnings. • A user-friendly heat stress assessment system was developed based on LabVIEW. Heat stress can easily affect the sow production performance to make huge financial loss. Although many models have been developed to evaluate heat stress, most of them are built for humans, cows, or young pigs, which could not well used in sow. In this study, the extreme gradient boosting (XGBoost) algorithm was specially developed to predict the physiological parameters of sows in gestation crates, including skin temperature, rectal temperature, and respiration rate, which play crucial roles in reflecting heat stress. The best physiological parameter prediction model was used to evaluate the heat stress of the sow and built the warning system. Datasets (1029) were collected from a commercial pig farm, which included environmental parameters of temperature, relative humidity, and air velocity inside the sow house (used as input data), and physiological parameters of sows (used as output data). The results showed that the model to predict skin temperature (skin temperature model of sows, STMS) got best performance, and the XGBoost algorithm had advantages in dealing with nonlinear problems achieving a significant improvement over the linear algorithm. Additionally, a physiological parameters and heat stress assessment system for sow housing was developed by integrating a heat stress threshold determined using STMS with LabVIEW, offering both a new technological solution and valuable insights.
Authors
- Mengbing Cao
- Chaoyuan Wang (ORCID: https://orcid.org/0000-0001-9415-8527)
- Shulei Li (ORCID: https://orcid.org/0000-0001-9346-3773)
- Hengyi Ji (ORCID: https://orcid.org/0000-0003-4654-425X)
- Yu Liu (ORCID: https://orcid.org/0000-0001-7074-0272)
- Yanrong Zhuang (ORCID: https://orcid.org/0000-0002-1507-2395)
- Jinrui Zhang (ORCID: https://orcid.org/0000-0002-9468-070X)
- Guanghui Teng
Institutions
- Centre for BioSystems Genomics (NL)
- Ministry of Agriculture and Rural Affairs (CN)
- National Engineering Research Center for Information Technology in Agriculture (CN)
- China Agricultural University (CN)
- Zhejiang University (CN)
- Wageningen University & Research (NL)
Publication Details
- Journal
- Computers and Electronics in Agriculture
- Published
- 2025-08-05
- DOI
- https://doi.org/10.1016/j.compag.2025.110828
- Citations
- 1
- Primary Topic
- Effects of Environmental Stressors on Livestock
- Type
- article
- Field-Weighted Citation Impact
- 1.19