Short-term prediction of ammonia levels in goose houses via combined feature selector and random forest

Jiande Huang, Shahbaz Gul Hassan, Longqin Xu, Shuangyin Liu

Abstract


Ammonia concentration (NH3) is a dominant source of environmental pollution in geese housing and profoundly affects the healthy growth of geese. Accurately forecasting NH3 and analyzing its change trends in geese houses is crucial for the survival of geese. A novel forecasting model was proposed by combining feature selector (CFS) and random forest (RF) to improve the prediction accuracy of NH3 in this study. The developed model integrated two modules. First, combining mutual information (MI) and relief-F, we propose that CFS quantify each feature’s importance values and eliminate the low-relation or unrelated features. Second, a random forest model was built using K-fold cross-validation grid search algorithm (CVGS) to obtain the RF hyperparameters to predict NH3. The simulation results show that the prediction accuracy was improved when feature selection after quantification based on the CFS was used. The mean square error (MSE), root mean square error (RMSE), and mean absolute percent error (MAPE) for the proposed model were 0.5072, 0.6583, and 2.88%, respectively. The NH3 prediction model (CFS-CVGS-RF) based on Combined Feature Selector, cross-validation grid search algorithm (CVGS), and Random Forest (RF) exhibited the best prediction accuracy and generalization performance compared with other parallel forecasting models and is a suitable and useful tool for predicting NH3 in geese houses. The results of the research can provide a reference for the machine learning method to monitor the dynamic changes of ammonia in goose houses.
Keywords: ammonia concentration prediction, random forest, combined feature selector, goose houses
DOI: 10.25165/j.ijabe.20231606.6378

Citation: Huang J D, Hassan S G, Xu L Q, Liu S Y. Short-term prediction of ammonia levels in goose houses via combined feature selector and random forest. Int J Agric & Biol Eng, 2023; 16(6): 77–84.

Keywords


ammonia concentration prediction, random forest, combined feature selector, goose houses

Full Text:

PDF

References


National Bureau of Statistics, China. Statistical Communique of the People’s Republic of China on the 2019 National Economic and Social Development.

Zhao Q, Boomer G S, Kendall W L. The non-linear, interactive effects of population density and climate drive the geographical patterns of waterfowl survival. Biological Conservation, 2018; 221: 1–9.

Wei F X, Hu X F, Xu B, Zhang M H, Li S Y, Sun Q Y, et al. Ammonia concentration and relative humidity in poultry houses affect the immune response of broilers. Genetics and Molecular Research, 2015; 14(2): 3160–3169.

Kearney G D, Shaw R, Prentice M, Tutor-Marcom R. Evaluation of respiratory symptoms and respiratory protection behavior among poultry workers in small farming operations. Journal of Agromedicine, 2014; 19(2): 162–170.

Nemer M, Sikkeland L I B, Kasem M, Kristensen P, Nijem K, Bjertness E, et al. Airway inflammation and ammonia exposure among female Palestinian hairdressers: A cross-sectional study. Occupational & Environmental Medicine, 2015; 72(6): 428–434.

Xiong Y, Tang X F, Meng Q S, Zhang H F. Differential expression analysis of the broiler tracheal proteins responsible for the immune response and muscle contraction induced by high concentration of ammonia using iTRAQ-coupled 2D LC-MS/MS. Science China Life Sciences, 2016; 59: 1166–1176.

Soliman E S, Moawed S A, Hassan R A. Influence of microclimatic ammonia levels on productive performance of different broilers’ breeds estimated with univariate and multivariate approaches. Veterinary World, 2017; 10(8): 880–887.

Tao Z Y, Xu W J, Zhu C H, Zhang S J, Shi Z H, Song W T, et al. Effects of ammonia on intestinal microflora and productive performance of laying ducks. Poultry Science, 2019; 98: 1947–1959.

Bai Y, Li Y, Wang X X, Xie J J, Li C. Air pollutants concentrations forecasting using back propagation neural network based on wavelet decomposition with meteorological conditions. Atmospheric Pollution Research, 2016; 7(3): 557–566.

Lim Y, Moon Y-S, Kim T-W. Artificial neural network approach for prediction of ammonia emission from field-applied manure and relative significance assessment of ammonia emission factors. European Journal of Agronomy, 2007; 26(4): 425–434.

Qiao J F, Quan L M, Yang C L. Design of modeling error PDF based fuzzy neural network for effluent ammonia nitrogen prediction. Applied Soft Computing, 2020; 91: 106239.

Xie Q, Ni J, Su Z. A prediction model of ammonia emission from a fattening pig room based on the indoor concentration using adaptive neuro fuzzy inference system. Journal of Hazardous Materials, 2017; 325: 301–309.

Stamenkovic L J, Antanasijevic D Z, Ristic M D J, Peric-Grujic A A, Pocajt V. Modeling of methane emissions using artificial neural network approach. Journal of the Serbian Chemical Society, 2015; 80(3): 421–433.

Yu H H, Chen Y Y, Hassan S G, Li D L. Prediction of the temperature in a Chinese solar greenhouse based on LSSVM optimized by improved PSO. Computers and Electronics in Agriculture, 2016; 122: 94–102.

Barzegar R, Fijani E, Moghaddam A A, Tziritis E. Forecasting of groundwater level fluctuations using ensemble hybrid multi-wavelet neural network-based models. Science of The Total Environment, 2017; 599-600: 20–31.

Qiu X H, Zhang L, Nagaratnam Suganthan P, Amaratunga G A J. Oblique random forest ensemble via Least Square Estimation for time series forecasting. Information Sciences, 2017; 420: 249–262.

Rubal, Kumar D. Evolving differential evolution method with random forest for prediction of air pollution. Procedia Computer Science, 2018; 132: 824–833.

Wen L, Yuan X Y. Forecasting CO2 emissions in China’s commercial department, through BP neural network based on random forest and PSO. Science of The Total Environment, 2020; 718: 137194.

Zhu K H, Wu S Y, Li Q. Prediction model for piggery ammonia concentration based on genetic algorithm and optimized BP neural network. Metallurgical and Mining Industry, 2015; 11: 6–12.

Li R, Nielsen P V, Bjerg B, Zhang G Q. Summary of best guidelines and validation of CFD modeling in livestock buildings to ensure prediction quality. Computers and Electronics in Agriculture, 2016; 121: 180–190.

Wang J L, Xu C Q, Zhang J, Zhong R. Big data analytics for intelligent manufacturing systems: A review. Journal of Manufacturing Systems, 2022; 62: 738–752.

Sun L, Wang L Y, Ding W P, Qian Y H, Xu J C. Feature selection using fuzzy neighborhood entropy-based uncertainty measures for fuzzy neighborhood multigranulation rough sets. IEEE Transactions on Fuzzy Systems, 2021; 29(1): 19–33.

Qian W B, Huang J T, Xu F K, Shu W H, Ding W P. A survey on multi-label feature selection from perspectives of label fusion. Information Fusion, 100: 101948.

Sun L, Yin T Y, Ding W P, Qian Y H, Xu J C. Multilabel feature selection using ML-ReliefF and neighborhood mutual information for multi-label neighborhood decision systems. Information Sciences, 2020; 537: 401–424.

Kira K, Rendell LA. The feature selection problem: traditional methods and a new algorithm. In: Proceedings of the tenth national conference on Artificial Intelligence, 1992; pp.129–134.

Kononenko I. Estimating attributes: Analysis and extensions of RELIEF. In: Machine Learning: ECML-94. ECML 1994 Lecture Notes in Computer Science, 1994; 784: 171–182.

Kraskov A, Stögbauer H, Grassberger P. Estimating mutual information. Physical Review E, 2004; 69: 066138.

Breiman L. Random forests. Machine Learning, 2001; 45: 5–32.

Zhang J W, Song W L, Jiang B, Li M B. Measurement of lumber moisture content based on PCA and GS-SVM. Journal of Forestry Research, 2018; 29: 557–574.

Probst P, Boulesteix A-L. To tune or not to tune the number of trees in random forest. The Journal of Machine Learning Research, 2017; 18(1): 6673–6690.

Ortin F, Facundo G, Garcia M. Analyzing syntactic constructs of Java programs with machine learning. Expert Systems with Applications, 2023; 215: 119398.




Copyright (c) 2023 International Journal of Agricultural and Biological Engineering

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

2023-2026 Copyright IJABE Editing and Publishing Office