Jiahao Chen, Jiaxin Li, Deqian Zheng, Yan Zhang, Hang Jing, Jianjun Han, Manxing Wang, Runmei Zhao
{"title":"Predicting Porosity in Grain Compression Experiments Using Random Forest and Metaheuristic Optimization Algorithms","authors":"Jiahao Chen, Jiaxin Li, Deqian Zheng, Yan Zhang, Hang Jing, Jianjun Han, Manxing Wang, Runmei Zhao","doi":"10.1002/fsn3.70107","DOIUrl":null,"url":null,"abstract":"<p>Grain stored for long periods is highly susceptible to localized condensation, mold growth, and insect infestations, leading to significant storage losses. These issues are particularly acute in large-capacity bungalow warehouses, where food security concerns are even more pronounced. The porosity of grain piles is a critical parameter that influences heat and moisture transfer within the grain mass, as well as the ventilation of grain storage. To investigate the distribution pattern of bulk grain pile porosity in bungalow warehouses, this study employs machine learning (ML) techniques to predict grain pile porosity based on compression experiments. Four metaheuristic optimization algorithms—particle swarm optimization (PSO), gray wolf optimizer (GWO), sine cosine algorithm (SCA), and tunicate swarm algorithm (TSA)—were introduced to enhance the random forest (RF) algorithm, and five ML-based models (RF, PSO-RF, GWO-RF, SCA-RF, and TSA-RF) for predicting grain porosity were developed. The predictive performance of the five models was analyzed using error analysis, Taylor diagrams, evaluation metrics, and multi-criteria assessments to identify the optimal ML prediction model. The results indicate that the predictive performance of the four RF-based hybrid models surpasses that of the single RF model. Among these hybrid models, the TSA-RF model demonstrated the best predictive performance, achieving <i>R</i><sup>2</sup> values of 0.9923 in the training set and 0.9723 in the test set. The TSA-RF model was employed to conduct a hierarchical prediction of bulk grain pile porosity in the bungalow warehouse. The results indicate that the porosity of the grain pile exhibits a pattern of being higher in the middle and smaller at the edges as the depth of the grain pile increases. The TSA-RF model developed in this study offers a novel and efficient method for predicting grain porosity, enabling rapid assessments of porosity in bulk grain piles within the bungalow warehouse.</p>","PeriodicalId":12418,"journal":{"name":"Food Science & Nutrition","volume":"13 4","pages":""},"PeriodicalIF":3.5000,"publicationDate":"2025-03-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://onlinelibrary.wiley.com/doi/epdf/10.1002/fsn3.70107","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Food Science & Nutrition","FirstCategoryId":"97","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/fsn3.70107","RegionNum":2,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"FOOD SCIENCE & TECHNOLOGY","Score":null,"Total":0}
引用次数: 0
Abstract
Grain stored for long periods is highly susceptible to localized condensation, mold growth, and insect infestations, leading to significant storage losses. These issues are particularly acute in large-capacity bungalow warehouses, where food security concerns are even more pronounced. The porosity of grain piles is a critical parameter that influences heat and moisture transfer within the grain mass, as well as the ventilation of grain storage. To investigate the distribution pattern of bulk grain pile porosity in bungalow warehouses, this study employs machine learning (ML) techniques to predict grain pile porosity based on compression experiments. Four metaheuristic optimization algorithms—particle swarm optimization (PSO), gray wolf optimizer (GWO), sine cosine algorithm (SCA), and tunicate swarm algorithm (TSA)—were introduced to enhance the random forest (RF) algorithm, and five ML-based models (RF, PSO-RF, GWO-RF, SCA-RF, and TSA-RF) for predicting grain porosity were developed. The predictive performance of the five models was analyzed using error analysis, Taylor diagrams, evaluation metrics, and multi-criteria assessments to identify the optimal ML prediction model. The results indicate that the predictive performance of the four RF-based hybrid models surpasses that of the single RF model. Among these hybrid models, the TSA-RF model demonstrated the best predictive performance, achieving R2 values of 0.9923 in the training set and 0.9723 in the test set. The TSA-RF model was employed to conduct a hierarchical prediction of bulk grain pile porosity in the bungalow warehouse. The results indicate that the porosity of the grain pile exhibits a pattern of being higher in the middle and smaller at the edges as the depth of the grain pile increases. The TSA-RF model developed in this study offers a novel and efficient method for predicting grain porosity, enabling rapid assessments of porosity in bulk grain piles within the bungalow warehouse.
期刊介绍:
Food Science & Nutrition is the peer-reviewed journal for rapid dissemination of research in all areas of food science and nutrition. The Journal will consider submissions of quality papers describing the results of fundamental and applied research related to all aspects of human food and nutrition, as well as interdisciplinary research that spans these two fields.