Cargando…

A Hybrid Model for Temperature Prediction in a Sheep House

SIMPLE SUMMARY: In intensive sheep farming, the temperature is an important indicator of the healthy growth of sheep. The key to ensuring the healthy growth of sheep in a stress-free environment is to grasp the changing trend in the sheep-house temperature in time and adjust in advance. In order to...

Descripción completa

Detalles Bibliográficos
Autores principales: Feng, Dachun, Zhou, Bing, Hassan, Shahbaz Gul, Xu, Longqin, Liu, Tonglai, Cao, Liang, Liu, Shuangyin, Guo, Jianjun
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9597816/
https://www.ncbi.nlm.nih.gov/pubmed/36290192
http://dx.doi.org/10.3390/ani12202806
_version_ 1784816182171271168
author Feng, Dachun
Zhou, Bing
Hassan, Shahbaz Gul
Xu, Longqin
Liu, Tonglai
Cao, Liang
Liu, Shuangyin
Guo, Jianjun
author_facet Feng, Dachun
Zhou, Bing
Hassan, Shahbaz Gul
Xu, Longqin
Liu, Tonglai
Cao, Liang
Liu, Shuangyin
Guo, Jianjun
author_sort Feng, Dachun
collection PubMed
description SIMPLE SUMMARY: In intensive sheep farming, the temperature is an important indicator of the healthy growth of sheep. The key to ensuring the healthy growth of sheep in a stress-free environment is to grasp the changing trend in the sheep-house temperature in time and adjust in advance. In order to solve this problem, we use machine learning technology to establish a combined prediction model to accurately predict the temperature of the sheep barn. The result shows that the combined prediction model has good stability and high accuracy. Additionally, it can be extended to the prediction research of other environmental parameters of other animal houses, such as pig houses and cow houses, in the future. ABSTRACT: Too high or too low temperature in the sheep house will directly threaten the healthy growth of sheep. Prediction and early warning of temperature changes is an important measure to ensure the healthy growth of sheep. Aiming at the randomness and empirical problem of parameter selection of the traditional single Extreme Gradient Boosting (XGBoost) model, this paper proposes an optimization method based on Principal Component Analysis (PCA) and Particle Swarm Optimization (PSO). Then, using the proposed PCA-PSO-XGBoost to predict the temperature in the sheep house. First, PCA is used to screen the key influencing factors of the sheep house temperature. The dimension of the input vector of the model is reduced; PSO-XGBoost is used to build a temperature prediction model, and the PSO optimization algorithm selects the main hyperparameters of XGBoost. We carried out a global search and determined the optimal hyperparameters of the XGBoost model through iterative calculation. Using the data of the Xinjiang Manas intensive sheep breeding base to conduct a simulation experiment, the results show that it is different from the existing ones. Compared with the temperature prediction model, the evaluation indicators of the PCA-PSO-XGBoost model proposed in this paper are root mean square error (RMSE), mean square error (MSE), coefficient of determination (R(2)), mean absolute error (MAE) , which are 0.0433, 0.0019, 0.9995, 0.0065, respectively. RMSE, MSE, and MAE are improved by 68, 90, and 94% compared with the traditional XGBoost model. The experimental results show that the model established in this paper has higher accuracy and better stability, can effectively provide guiding suggestions for monitoring and regulating temperature changes in intensive housing and can be extended to the prediction research of other environmental parameters of other animal houses such as pig houses and cow houses in the future.
format Online
Article
Text
id pubmed-9597816
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-95978162022-10-27 A Hybrid Model for Temperature Prediction in a Sheep House Feng, Dachun Zhou, Bing Hassan, Shahbaz Gul Xu, Longqin Liu, Tonglai Cao, Liang Liu, Shuangyin Guo, Jianjun Animals (Basel) Article SIMPLE SUMMARY: In intensive sheep farming, the temperature is an important indicator of the healthy growth of sheep. The key to ensuring the healthy growth of sheep in a stress-free environment is to grasp the changing trend in the sheep-house temperature in time and adjust in advance. In order to solve this problem, we use machine learning technology to establish a combined prediction model to accurately predict the temperature of the sheep barn. The result shows that the combined prediction model has good stability and high accuracy. Additionally, it can be extended to the prediction research of other environmental parameters of other animal houses, such as pig houses and cow houses, in the future. ABSTRACT: Too high or too low temperature in the sheep house will directly threaten the healthy growth of sheep. Prediction and early warning of temperature changes is an important measure to ensure the healthy growth of sheep. Aiming at the randomness and empirical problem of parameter selection of the traditional single Extreme Gradient Boosting (XGBoost) model, this paper proposes an optimization method based on Principal Component Analysis (PCA) and Particle Swarm Optimization (PSO). Then, using the proposed PCA-PSO-XGBoost to predict the temperature in the sheep house. First, PCA is used to screen the key influencing factors of the sheep house temperature. The dimension of the input vector of the model is reduced; PSO-XGBoost is used to build a temperature prediction model, and the PSO optimization algorithm selects the main hyperparameters of XGBoost. We carried out a global search and determined the optimal hyperparameters of the XGBoost model through iterative calculation. Using the data of the Xinjiang Manas intensive sheep breeding base to conduct a simulation experiment, the results show that it is different from the existing ones. Compared with the temperature prediction model, the evaluation indicators of the PCA-PSO-XGBoost model proposed in this paper are root mean square error (RMSE), mean square error (MSE), coefficient of determination (R(2)), mean absolute error (MAE) , which are 0.0433, 0.0019, 0.9995, 0.0065, respectively. RMSE, MSE, and MAE are improved by 68, 90, and 94% compared with the traditional XGBoost model. The experimental results show that the model established in this paper has higher accuracy and better stability, can effectively provide guiding suggestions for monitoring and regulating temperature changes in intensive housing and can be extended to the prediction research of other environmental parameters of other animal houses such as pig houses and cow houses in the future. MDPI 2022-10-17 /pmc/articles/PMC9597816/ /pubmed/36290192 http://dx.doi.org/10.3390/ani12202806 Text en © 2022 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Feng, Dachun
Zhou, Bing
Hassan, Shahbaz Gul
Xu, Longqin
Liu, Tonglai
Cao, Liang
Liu, Shuangyin
Guo, Jianjun
A Hybrid Model for Temperature Prediction in a Sheep House
title A Hybrid Model for Temperature Prediction in a Sheep House
title_full A Hybrid Model for Temperature Prediction in a Sheep House
title_fullStr A Hybrid Model for Temperature Prediction in a Sheep House
title_full_unstemmed A Hybrid Model for Temperature Prediction in a Sheep House
title_short A Hybrid Model for Temperature Prediction in a Sheep House
title_sort hybrid model for temperature prediction in a sheep house
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9597816/
https://www.ncbi.nlm.nih.gov/pubmed/36290192
http://dx.doi.org/10.3390/ani12202806
work_keys_str_mv AT fengdachun ahybridmodelfortemperaturepredictioninasheephouse
AT zhoubing ahybridmodelfortemperaturepredictioninasheephouse
AT hassanshahbazgul ahybridmodelfortemperaturepredictioninasheephouse
AT xulongqin ahybridmodelfortemperaturepredictioninasheephouse
AT liutonglai ahybridmodelfortemperaturepredictioninasheephouse
AT caoliang ahybridmodelfortemperaturepredictioninasheephouse
AT liushuangyin ahybridmodelfortemperaturepredictioninasheephouse
AT guojianjun ahybridmodelfortemperaturepredictioninasheephouse
AT fengdachun hybridmodelfortemperaturepredictioninasheephouse
AT zhoubing hybridmodelfortemperaturepredictioninasheephouse
AT hassanshahbazgul hybridmodelfortemperaturepredictioninasheephouse
AT xulongqin hybridmodelfortemperaturepredictioninasheephouse
AT liutonglai hybridmodelfortemperaturepredictioninasheephouse
AT caoliang hybridmodelfortemperaturepredictioninasheephouse
AT liushuangyin hybridmodelfortemperaturepredictioninasheephouse
AT guojianjun hybridmodelfortemperaturepredictioninasheephouse