基于随机森林的猪肉价格预测模型
Pork Price Prediction Model Based on Random Forest
摘要: 中国是世界上最大的猪肉生产国和消费国,也是生猪养殖规模最大的国家。在中国的所有肉类消费中,猪肉消费一直领先其他肉制品,近年来生猪价格波动频繁,会对整个养猪业乃至社会造成巨大影响。因此探究一种可以准确预测猪肉价格的模型对生猪市场的研究和生产都具有重要意义。随机森林是以K个决策树为基本分类器,进行集成学习后得到的组合分类器,可以解决数据多模态问题。考虑到猪肉价格与其他因素之间的复杂多模态非线性关系,故本文使用随机森林对猪肉价格进行预测。针对收集的猪肉价格影响因素(如玉米价格,牛肉价格等),建立多棵决策树构建随机森林模型,对猪肉价格实现精准预测。同时进行了对比实验,对比决策树、支持向量机预测模型,实验结果表明基于随机森林的预测价格数据和真实价格数据拟合效果最好。
Abstract: China is the world’s largest producer and consumer of pork, and it is also the country with the largest scale of pig farming. Among all meat consumption in China, pork consumption has always been ahead of other meat products. In recent years, the price of live pigs has fluctuated frequently, which will have a huge impact on the entire pig industry and society. Therefore, exploring a model that can accurately predict the price of pork is of great significance to the research and production of the live pig market. Random forest is based on K decision trees as the basic classifier, and the combined classifier is obtained after ensemble learning, which can solve the data multi-modal problem. Considering the complex multi-modal nonlinear relationship between pork price and other factors, this paper uses random forest to predict pork price. According to the collected pork price influencing factors (such as corn price, beef price, etc.), establish multiple decision trees to construct a random forest model to realize accurate prediction of pork price. At the same time, a comparative experiment was carried out to compare the prediction model of decision tree and support vector machine. The experimental results showed that the predicted price data based on random forest and the real price data have the best fit.
文章引用:黄琪, 董帮强. 基于随机森林的猪肉价格预测模型[J]. 应用数学进展, 2021, 10(9): 3134-3140. https://doi.org/10.12677/AAM.2021.109327

参考文献

[1] 马再兴. 基于动态贝叶斯网络的生猪价格与产量预测[D]: [硕士学位论文]. 武汉: 华中农业大学, 2019.
[2] 石雪涛, 朱帮助. 基于相空间重构和最小二乘支持向量回归模型参数同步优化的碳市场价格预测[J]. 系统科学与数学, 2017, 37(2): 562-572.
[3] 陈海鹏, 卢旭旺, 申铉京, 杨英卓. 基于多元线性回归的螺纹钢价格分析及预测模型[J]. 计算机科学, 2017, 44(11): 61-64.
[4] 董京铭, 刘瑞翔, 马晨晨, 等. 利用主成分回归方法预估连云港地区水稻气象产量[J]. 江苏农业学报, 2021, 37(3): 606-612.
[5] 苗田恬, 刘思琦. 基于偏最小二乘回归的农产品种植评价研究[J]. 商场现代化, 2019(15): 19-20.
[6] 张宇青, 周应恒, 易中懿. 中国生猪出栏价格波动的非线性特征分析与预测[J]. 统计与决策, 2015(1): 141-143.
[7] 张莹莹. 基于ARIMA模型的中国猪肉价格预测[J]. 商展经济, 2020(15): 21-23.
[8] 李阳, 王晓光. 基于PCA-GM-BP神经网络的猪肉价格预测分析[J]. 数学的实践与认识, 2021, 51(5): 56-63.
[9] 刘青松, 严华, 卢文龙. 基于AR-RNN的多变量水位预测模型研究[J]. 人民长江, 2020, 51(10): 94-99.
[10] 赵圆芳, 高媛, 钱峰, 亢欣欣. 应用LSTM网络的缸体压铸质量预测[J]. 机械设计与制造, 2021(7): 229-232.
[11] 张方怡, 董庆利, 等. 基于贝叶斯网络的猪肉合格率的模型构建[J]. 食品工业科技, 2012, 33(10): 52-54+93.
[12] 姜百臣, 冯凯杰, 彭思喜. 基于改进持支向量机的猪肉价格预测研究[J]. 广东农业科学, 2018, 45(12): 158-164.
[13] Jumin, E., Basaruddin, F.B., et al. (2021) Solar Radiation Prediction Using Boosted Decision Tree Regression Model: A Case Study in Malaysia. Environment Science and Pollution Research, 28, 26571-26583. [Google Scholar] [CrossRef] [PubMed]
[14] 陈帅. 我国生猪价格波动影响因素分析[J]. 农村经济与科技, 2019, 30(21): 63-65.
[15] 李苏, 宝哲, 多春梅. 局部均衡理论视角的中国猪肉产品供需预测[J]. 黑龙江畜牧兽医, 2019(4): 1-7.
[16] 任青山, 方逵, 朱幸辉. 基于多元回归的BP神经网络生猪价格预测模型[J]. 江苏农业科学, 2019, 47(14): 277-281.
[17] 徐艳平. 基于改进的随机森林算法的城市空气质量预测模型[D]: [硕士学位论文]. 重庆: 重庆工商大学, 2021.