Cargando…

A Method to Predict CO(2) Mass Concentration in Sheep Barns Based on the RF-PSO-LSTM Model

SIMPLE SUMMARY: With the change in meat sheep breeding from traditional farming to large-scale, intensified modern breeding practices, the environmental air quality in sheep barns has gradually started to receive more attention. CO(2) concentration is an important environmental indicator in the ambi...

Descripción completa

Detalles Bibliográficos
Autores principales: Cen, Honglei, Yu, Longhui, Pu, Yuhai, Li, Jingbin, Liu, Zichen, Cai, Qiang, Liu, Shuangyin, Nie, Jing, Ge, Jianbing, Guo, Jianjun, Yang, Shuo, Zhao, Hangxing, Wang, Kang
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10135381/
https://www.ncbi.nlm.nih.gov/pubmed/37106885
http://dx.doi.org/10.3390/ani13081322
_version_ 1785031965048569856
author Cen, Honglei
Yu, Longhui
Pu, Yuhai
Li, Jingbin
Liu, Zichen
Cai, Qiang
Liu, Shuangyin
Nie, Jing
Ge, Jianbing
Guo, Jianjun
Yang, Shuo
Zhao, Hangxing
Wang, Kang
author_facet Cen, Honglei
Yu, Longhui
Pu, Yuhai
Li, Jingbin
Liu, Zichen
Cai, Qiang
Liu, Shuangyin
Nie, Jing
Ge, Jianbing
Guo, Jianjun
Yang, Shuo
Zhao, Hangxing
Wang, Kang
author_sort Cen, Honglei
collection PubMed
description SIMPLE SUMMARY: With the change in meat sheep breeding from traditional farming to large-scale, intensified modern breeding practices, the environmental air quality in sheep barns has gradually started to receive more attention. CO(2) concentration is an important environmental indicator in the ambient air of sheep sheds; when excess CO(2) accumulates, it can lead to chronic hypoxia, lethargy, loss of appetite, weakness, and stress in sheep, which seriously endangers their healthy growth. Therefore, an accurate understanding of the trend of CO(2) concentration changes in sheep housing and the precise regulation of their breeding environment are essential to ensure the welfare of sheep. Inspired by developments in deep learning technology in recent years, we propose a method to predict CO(2) mass concentration in sheep barns based on the RF-PSO-LSTM model. The experimental results show that our proposed model has a root mean square error (RMSE) of 75.422 μg·m(−3), a mean absolute error (MAE) of 51.839 μg·m(−3), and a coefficient of determination (R(2)) of 0.992. The data predicted by the model are similar to the real data of a sheep barn; in fact, the prediction is better. Our proposed method can provide a reference for the prediction and regulation of ambient air quality in meat sheep barns. ABSTRACT: In large-scale meat sheep farming, high CO(2) concentrations in sheep sheds can lead to stress and harm the healthy growth of meat sheep, so a timely and accurate understanding of the trend of CO(2) concentration and early regulation are essential to ensure the environmental safety of sheep sheds and the welfare of meat sheep. In order to accurately understand and regulate CO(2) concentrations in sheep barns, we propose a prediction method based on the RF-PSO-LSTM model. The approach we propose has four main parts. First, to address the problems of data packet loss, distortion, singular values, and differences in the magnitude of the ambient air quality data collected from sheep sheds, we performed data preprocessing using mean smoothing, linear interpolation, and data normalization. Second, to address the problems of many types of ambient air quality parameters in sheep barns and possible redundancy or overlapping information, we used a random forests algorithm (RF) to screen and rank the features affecting CO(2) mass concentration and selected the top four features (light intensity, air relative humidity, air temperature, and PM2.5 mass concentration) as the input of the model to eliminate redundant information among the variables. Then, to address the problem of manually debugging the hyperparameters of the long short-term memory model (LSTM), which is time consuming and labor intensive, as well as potentially subjective, we used a particle swarm optimization (PSO) algorithm to obtain the optimal combination of parameters, avoiding the disadvantages of selecting hyperparameters based on subjective experience. Finally, we trained the LSTM model using the optimized parameters obtained by the PSO algorithm to obtain the proposed model in this paper. The experimental results show that our proposed model has a root mean square error (RMSE) of 75.422 μg·m(−3), a mean absolute error (MAE) of 51.839 μg·m(−3), and a coefficient of determination (R(2)) of 0.992. The model prediction curve is close to the real curve and has a good prediction effect, which can be useful for the accurate prediction and regulation of CO(2) concentration in sheep barns in large-scale meat sheep farming.
format Online
Article
Text
id pubmed-10135381
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-101353812023-04-28 A Method to Predict CO(2) Mass Concentration in Sheep Barns Based on the RF-PSO-LSTM Model Cen, Honglei Yu, Longhui Pu, Yuhai Li, Jingbin Liu, Zichen Cai, Qiang Liu, Shuangyin Nie, Jing Ge, Jianbing Guo, Jianjun Yang, Shuo Zhao, Hangxing Wang, Kang Animals (Basel) Article SIMPLE SUMMARY: With the change in meat sheep breeding from traditional farming to large-scale, intensified modern breeding practices, the environmental air quality in sheep barns has gradually started to receive more attention. CO(2) concentration is an important environmental indicator in the ambient air of sheep sheds; when excess CO(2) accumulates, it can lead to chronic hypoxia, lethargy, loss of appetite, weakness, and stress in sheep, which seriously endangers their healthy growth. Therefore, an accurate understanding of the trend of CO(2) concentration changes in sheep housing and the precise regulation of their breeding environment are essential to ensure the welfare of sheep. Inspired by developments in deep learning technology in recent years, we propose a method to predict CO(2) mass concentration in sheep barns based on the RF-PSO-LSTM model. The experimental results show that our proposed model has a root mean square error (RMSE) of 75.422 μg·m(−3), a mean absolute error (MAE) of 51.839 μg·m(−3), and a coefficient of determination (R(2)) of 0.992. The data predicted by the model are similar to the real data of a sheep barn; in fact, the prediction is better. Our proposed method can provide a reference for the prediction and regulation of ambient air quality in meat sheep barns. ABSTRACT: In large-scale meat sheep farming, high CO(2) concentrations in sheep sheds can lead to stress and harm the healthy growth of meat sheep, so a timely and accurate understanding of the trend of CO(2) concentration and early regulation are essential to ensure the environmental safety of sheep sheds and the welfare of meat sheep. In order to accurately understand and regulate CO(2) concentrations in sheep barns, we propose a prediction method based on the RF-PSO-LSTM model. The approach we propose has four main parts. First, to address the problems of data packet loss, distortion, singular values, and differences in the magnitude of the ambient air quality data collected from sheep sheds, we performed data preprocessing using mean smoothing, linear interpolation, and data normalization. Second, to address the problems of many types of ambient air quality parameters in sheep barns and possible redundancy or overlapping information, we used a random forests algorithm (RF) to screen and rank the features affecting CO(2) mass concentration and selected the top four features (light intensity, air relative humidity, air temperature, and PM2.5 mass concentration) as the input of the model to eliminate redundant information among the variables. Then, to address the problem of manually debugging the hyperparameters of the long short-term memory model (LSTM), which is time consuming and labor intensive, as well as potentially subjective, we used a particle swarm optimization (PSO) algorithm to obtain the optimal combination of parameters, avoiding the disadvantages of selecting hyperparameters based on subjective experience. Finally, we trained the LSTM model using the optimized parameters obtained by the PSO algorithm to obtain the proposed model in this paper. The experimental results show that our proposed model has a root mean square error (RMSE) of 75.422 μg·m(−3), a mean absolute error (MAE) of 51.839 μg·m(−3), and a coefficient of determination (R(2)) of 0.992. The model prediction curve is close to the real curve and has a good prediction effect, which can be useful for the accurate prediction and regulation of CO(2) concentration in sheep barns in large-scale meat sheep farming. MDPI 2023-04-12 /pmc/articles/PMC10135381/ /pubmed/37106885 http://dx.doi.org/10.3390/ani13081322 Text en © 2023 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
Cen, Honglei
Yu, Longhui
Pu, Yuhai
Li, Jingbin
Liu, Zichen
Cai, Qiang
Liu, Shuangyin
Nie, Jing
Ge, Jianbing
Guo, Jianjun
Yang, Shuo
Zhao, Hangxing
Wang, Kang
A Method to Predict CO(2) Mass Concentration in Sheep Barns Based on the RF-PSO-LSTM Model
title A Method to Predict CO(2) Mass Concentration in Sheep Barns Based on the RF-PSO-LSTM Model
title_full A Method to Predict CO(2) Mass Concentration in Sheep Barns Based on the RF-PSO-LSTM Model
title_fullStr A Method to Predict CO(2) Mass Concentration in Sheep Barns Based on the RF-PSO-LSTM Model
title_full_unstemmed A Method to Predict CO(2) Mass Concentration in Sheep Barns Based on the RF-PSO-LSTM Model
title_short A Method to Predict CO(2) Mass Concentration in Sheep Barns Based on the RF-PSO-LSTM Model
title_sort method to predict co(2) mass concentration in sheep barns based on the rf-pso-lstm model
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10135381/
https://www.ncbi.nlm.nih.gov/pubmed/37106885
http://dx.doi.org/10.3390/ani13081322
work_keys_str_mv AT cenhonglei amethodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT yulonghui amethodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT puyuhai amethodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT lijingbin amethodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT liuzichen amethodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT caiqiang amethodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT liushuangyin amethodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT niejing amethodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT gejianbing amethodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT guojianjun amethodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT yangshuo amethodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT zhaohangxing amethodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT wangkang amethodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT cenhonglei methodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT yulonghui methodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT puyuhai methodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT lijingbin methodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT liuzichen methodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT caiqiang methodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT liushuangyin methodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT niejing methodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT gejianbing methodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT guojianjun methodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT yangshuo methodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT zhaohangxing methodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel
AT wangkang methodtopredictco2massconcentrationinsheepbarnsbasedontherfpsolstmmodel