{"title":"基于机器学习和夏普利加法解释预测肉种鸡的产蛋率和蛋重","authors":"Hengyi Ji , Yidan Xu , Ganghui Teng","doi":"10.1016/j.psj.2024.104458","DOIUrl":null,"url":null,"abstract":"<div><div>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.</div></div>","PeriodicalId":20459,"journal":{"name":"Poultry Science","volume":"104 1","pages":"Article 104458"},"PeriodicalIF":3.8000,"publicationDate":"2024-10-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Predicting egg production rate and egg weight of broiler breeders based on machine learning and Shapley additive explanations\",\"authors\":\"Hengyi Ji , Yidan Xu , Ganghui Teng\",\"doi\":\"10.1016/j.psj.2024.104458\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>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.</div></div>\",\"PeriodicalId\":20459,\"journal\":{\"name\":\"Poultry Science\",\"volume\":\"104 1\",\"pages\":\"Article 104458\"},\"PeriodicalIF\":3.8000,\"publicationDate\":\"2024-10-29\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Poultry Science\",\"FirstCategoryId\":\"97\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0032579124010368\",\"RegionNum\":1,\"RegionCategory\":\"农林科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"AGRICULTURE, DAIRY & ANIMAL SCIENCE\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Poultry Science","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0032579124010368","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, DAIRY & ANIMAL SCIENCE","Score":null,"Total":0}
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 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.
期刊介绍:
First self-published in 1921, Poultry Science is an internationally renowned monthly journal, known as the authoritative source for a broad range of poultry information and high-caliber research. The journal plays a pivotal role in the dissemination of preeminent poultry-related knowledge across all disciplines. As of January 2020, Poultry Science will become an Open Access journal with no subscription charges, meaning authors who publish here can make their research immediately, permanently, and freely accessible worldwide while retaining copyright to their work. Papers submitted for publication after October 1, 2019 will be published as Open Access papers.
An international journal, Poultry Science publishes original papers, research notes, symposium papers, and reviews of basic science as applied to poultry. This authoritative source of poultry information is consistently ranked by ISI Impact Factor as one of the top 10 agriculture, dairy and animal science journals to deliver high-caliber research. Currently it is the highest-ranked (by Impact Factor and Eigenfactor) journal dedicated to publishing poultry research. Subject areas include breeding, genetics, education, production, management, environment, health, behavior, welfare, immunology, molecular biology, metabolism, nutrition, physiology, reproduction, processing, and products.