Related Experiment Video
Updated: Jun 7, 2025

In Ovo Feeding of Commercial Broiler Eggs: An Accurate and Reproducible Method to Affect Muscle Development and Growth
Published on: September 20, 2021
Predicting egg production rate and egg weight of broiler breeders based on machine learning and Shapley additive
Hengyi Ji1, Yidan Xu1, Ganghui Teng1
1College 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.
Abstract:
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.
Related Concept Videos
Multiple Regression
Farmers can use multiple regression to determine the crop yield based on more than one factor, such as water availability, fertilizer, soil properties, etc. Here, the crop yield is the response or dependent variable as it depends on the other independent variables. The analysis requires the construction of a scatter plot...
Variation
When independent and dependent variables are plotted on a scatter plot, the slope of a line is a value that describes the rate of change between the two...
Regression Toward the Mean
Regression Analysis
In regression analysis, a regression equation is determined based on the line of best fit– a line that best fits the data points plotted in a graph. This line is also called the regression line. The algebraic equation for the regression line is called the regression equation. It is represented as:
Residuals and Least-Squares Property
If the observed data point lies above the line, the residual is positive, and the line underestimates the actual data value for y. If the observed data point lies below the line, the residual is negative, and the line overestimates the actual data value for y.
The process of fitting the best-fit...
Microsoft Excel: Regression Analysis
To perform regression...

