Predicting egg production rate and egg weight of broiler breeders based on machine learning and Shapley additive explanations

Egg production rate and egg weight are core indicators for evaluating the production performance of broiler breeders. The accurate prediction of these indicators can significantly enhance farm economic efficiency and can provide a basis for future production strategies. Currently, there is a lack of...

Full description

Saved in:
Bibliographic Details
Main Authors: Hengyi Ji, Yidan Xu, Ganghui Teng
Format: Article
Language:English
Published: Elsevier 2025-01-01
Series:Poultry Science
Subjects:
Online Access:http://www.sciencedirect.com/science/article/pii/S0032579124010368
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1832591904909295616
author Hengyi Ji
Yidan Xu
Ganghui Teng
author_facet Hengyi Ji
Yidan Xu
Ganghui Teng
author_sort Hengyi Ji
collection DOAJ
description Egg production rate and egg weight are core indicators for evaluating the production performance of broiler breeders. The accurate prediction of these indicators can significantly enhance farm economic efficiency and can provide a basis for future production strategies. Currently, there is a lack of research on the application of machine learning (ML) models to predict egg production rate and egg weight in broiler breeders. In this study, we collected data on age, feed intake, water consumption, and environmental factors (temperature, humidity and wind speed) from three poultry houses to train the predictive models. Based on this data, we developed three different datasets. In each dataset, data from a single poultry house were divided into a training set and a validation set in an 8:2 ratio, and data from the remaining two poultry houses were combined to form the test set. We systematically compared the performances of the following seven ML models in predicting egg production rate and egg weight: random forest (RF), multilayer perceptron (MLP), support vector regression (SVR), least squares support vector machine (LSSVM), k-nearest neighbors (kNN), XGBoost, and LightGBM. The results indicated that the XGBoost model demonstrated the best performance across all three datasets. In predicting egg production rate, the XGBoost model achieved a mean absolute error (MAE), root mean square error (RMSE) and mean absolute percentage error (MAPE) of less than 2.86%, 4.17% and 7.03%, respectively. For egg weight predictions, the XGBoost model's MAE, RMSE and MAPE were less than 0.63g, 0.86g and 1.1%, respectively. Given the inherent black-box nature of ML models, we used the Shapley additive explanations (SHAP) method to interpret the key features influencing the XGBoost model's predictions and the interactions between these features. The key features for predicting egg production rate are age, feed intake and effective temperature (ET). For egg weight prediction, the most important features are age, wind speed, temperature-humidity index (THI) and ET. This approach enhanced the model's transparency and credibility. This study provides scientific evidence for predicting the production performance of broiler breeders. Accurately predicting egg production rate and egg weight provides a scientific basis for farm operations, aiding in optimizing resource allocation, improving production efficiency, enhancing animal welfare, and ultimately boosting the farm's profitability.
format Article
id doaj-art-4de78984f5c84002832558624c16b926
institution Kabale University
issn 0032-5791
language English
publishDate 2025-01-01
publisher Elsevier
record_format Article
series Poultry Science
spelling doaj-art-4de78984f5c84002832558624c16b9262025-01-22T05:40:10ZengElsevierPoultry Science0032-57912025-01-011041104458Predicting egg production rate and egg weight of broiler breeders based on machine learning and Shapley additive explanationsHengyi Ji0Yidan Xu1Ganghui Teng2College of Water Resources and Civil Engineering, China Agricultural University, Beijing, China; Key Laboratory of Agricultural Engineering in Structure and Environment, Ministry of Agriculture and Rural Affairs, Beijing 100083, China; Beijing Engineering Research Center for Animal Healthy Environment, Beijing 100083, ChinaCollege of Water Resources and Civil Engineering, China Agricultural University, Beijing, China; Key Laboratory of Agricultural Engineering in Structure and Environment, Ministry of Agriculture and Rural Affairs, Beijing 100083, China; Beijing Engineering Research Center for Animal Healthy Environment, Beijing 100083, ChinaCollege of Water Resources and Civil Engineering, China Agricultural University, Beijing, China; Key Laboratory of Agricultural Engineering in Structure and Environment, Ministry of Agriculture and Rural Affairs, Beijing 100083, China; Beijing Engineering Research Center for Animal Healthy Environment, Beijing 100083, China; Corresponding author at: College of Water Resources and Civil Engineering, China Agricultural University, Beijing, China.Egg production rate and egg weight are core indicators for evaluating the production performance of broiler breeders. The accurate prediction of these indicators can significantly enhance farm economic efficiency and can provide a basis for future production strategies. Currently, there is a lack of research on the application of machine learning (ML) models to predict egg production rate and egg weight in broiler breeders. In this study, we collected data on age, feed intake, water consumption, and environmental factors (temperature, humidity and wind speed) from three poultry houses to train the predictive models. Based on this data, we developed three different datasets. In each dataset, data from a single poultry house were divided into a training set and a validation set in an 8:2 ratio, and data from the remaining two poultry houses were combined to form the test set. We systematically compared the performances of the following seven ML models in predicting egg production rate and egg weight: random forest (RF), multilayer perceptron (MLP), support vector regression (SVR), least squares support vector machine (LSSVM), k-nearest neighbors (kNN), XGBoost, and LightGBM. The results indicated that the XGBoost model demonstrated the best performance across all three datasets. In predicting egg production rate, the XGBoost model achieved a mean absolute error (MAE), root mean square error (RMSE) and mean absolute percentage error (MAPE) of less than 2.86%, 4.17% and 7.03%, respectively. For egg weight predictions, the XGBoost model's MAE, RMSE and MAPE were less than 0.63g, 0.86g and 1.1%, respectively. Given the inherent black-box nature of ML models, we used the Shapley additive explanations (SHAP) method to interpret the key features influencing the XGBoost model's predictions and the interactions between these features. The key features for predicting egg production rate are age, feed intake and effective temperature (ET). For egg weight prediction, the most important features are age, wind speed, temperature-humidity index (THI) and ET. This approach enhanced the model's transparency and credibility. This study provides scientific evidence for predicting the production performance of broiler breeders. Accurately predicting egg production rate and egg weight provides a scientific basis for farm operations, aiding in optimizing resource allocation, improving production efficiency, enhancing animal welfare, and ultimately boosting the farm's profitability.http://www.sciencedirect.com/science/article/pii/S0032579124010368Egg production rateEgg weightBroiler breederMachine learning
spellingShingle Hengyi Ji
Yidan Xu
Ganghui Teng
Predicting egg production rate and egg weight of broiler breeders based on machine learning and Shapley additive explanations
Poultry Science
Egg production rate
Egg weight
Broiler breeder
Machine learning
title Predicting egg production rate and egg weight of broiler breeders based on machine learning and Shapley additive explanations
title_full Predicting egg production rate and egg weight of broiler breeders based on machine learning and Shapley additive explanations
title_fullStr Predicting egg production rate and egg weight of broiler breeders based on machine learning and Shapley additive explanations
title_full_unstemmed Predicting egg production rate and egg weight of broiler breeders based on machine learning and Shapley additive explanations
title_short Predicting egg production rate and egg weight of broiler breeders based on machine learning and Shapley additive explanations
title_sort predicting egg production rate and egg weight of broiler breeders based on machine learning and shapley additive explanations
topic Egg production rate
Egg weight
Broiler breeder
Machine learning
url http://www.sciencedirect.com/science/article/pii/S0032579124010368
work_keys_str_mv AT hengyiji predictingeggproductionrateandeggweightofbroilerbreedersbasedonmachinelearningandshapleyadditiveexplanations
AT yidanxu predictingeggproductionrateandeggweightofbroilerbreedersbasedonmachinelearningandshapleyadditiveexplanations
AT ganghuiteng predictingeggproductionrateandeggweightofbroilerbreedersbasedonmachinelearningandshapleyadditiveexplanations