A Pork Price Prediction Model Based on a Combined Sparrow Search Algorithm and Classification and Regression Trees Model

被引:3
|
作者
Qin, Jing [1 ]
Yang, Degang [1 ,2 ]
Zhang, Wenlong [1 ]
机构
[1] Chongqing Normal Univ, Inst Comp & Informat Sci, Chongqing 401331, Peoples R China
[2] Chongqing Engn Res Ctr Educ Big Data Intelligent P, Chongqing 401331, Peoples R China
来源
APPLIED SCIENCES-BASEL | 2023年 / 13卷 / 23期
关键词
decision tree regression; combination model; optimization algorithm; SSA; pork price prediction; HOG; CNN;
D O I
10.3390/app132312697
中图分类号
O6 [化学];
学科分类号
0703 ;
摘要
The frequent fluctuation of pork prices has seriously affected the sustainable development of the pork industry. The accurate prediction of pork prices can not only help pork practitioners make scientific decisions but also help them to avoid market risks, which is the only way to promote the healthy development of the pork industry. Therefore, to improve the prediction accuracy of pork prices, this paper first combines the Sparrow Search Algorithm (SSA) and traditional machine learning model, Classification and Regression Trees (CART), to establish an SSA-CART optimization model for predicting pork prices. Secondly, based on the Sichuan pork price data during the 12th Five-Year Plan period, the linear correlation between piglet, corn, fattening pig feed, and pork price was measured using the Pearson correlation coefficient. Thirdly, the MAE fitness value was calculated by combining the validation set and training set, and the hyperparameter "MinLeafSize" was optimized via the SSA. Finally, a comparative analysis of the prediction performance of the White Shark Optimizer (WSO)-CART model, CART model, and Simulated Annealing (SA)-CART model demonstrated that the SSA-CART model has the best prediction of pork price (compared with a single decision tree, R2 increased by 9.236%), which is conducive to providing support for pork price prediction. The accurate prediction of pork prices with an optimized machine learning model is of great practical significance for stabilizing pig production, ensuring the sustainable growth of farmers' income, and promoting sound economic development.
引用
收藏
页数:23
相关论文
共 50 条
  • [31] An Apple Fungal Infection Detection Model Based on BPNN Optimized by Sparrow Search Algorithm
    Zhao, Changtong
    Ma, Jie
    Jia, Wenshen
    Wang, Huihua
    Tian, Hui
    Wang, Jihua
    Zhou, Wei
    BIOSENSORS-BASEL, 2022, 12 (09):
  • [32] Parameter Identification of Lithium Battery Model Based on Chaotic Quantum Sparrow Search Algorithm
    Hou, Jing
    Wang, Xin
    Su, Yanping
    Yang, Yan
    Gao, Tian
    APPLIED SCIENCES-BASEL, 2022, 12 (14):
  • [33] A hybrid model based on Support Vector Regression and Modified Harmony Search algorithm in Time series prediction
    Misaghi, Samaneh
    Sheijani, Omid Sojoodi
    2017 5TH IRANIAN JOINT CONGRESS ON FUZZY AND INTELLIGENT SYSTEMS (CFIS), 2017, : 54 - 60
  • [34] Verifying Technical Indicator Effectiveness in Cryptocurrency Price Forecasting: a Deep-Learning Time Series Model Based on Sparrow Search Algorithm
    Cheng, Ching-Hsue
    Yang, Jun-He
    Dai, Jia-Pei
    COGNITIVE COMPUTATION, 2025, 17 (01)
  • [35] A combined model based on sparrow search optimized BP neural network and Markov chain for precipitation prediction in Zhengzhou City, China
    Guo, Nan
    Wang, Zhaocai
    AQUA-WATER INFRASTRUCTURE ECOSYSTEMS AND SOCIETY, 2022, 71 (06) : 782 - 800
  • [36] A new hybrid classification algorithm for customer churn prediction based on logistic regression and decision trees
    De Caigny, Arno
    Coussement, Kristof
    De Bock, Koen W.
    EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 2018, 269 (02) : 760 - 772
  • [37] Prediction Model for Safe Operation of Pumping Stations Optimized by the Sparrow Search Algorithm and BP Neural Network
    Yu, Ziwei
    Yu, Jinhuang
    Liu, Jinjie
    Hu, Chenglong
    Hu, Shengsheng
    Wang, Junjie
    Zhang, Hehe
    Lu, Huiting
    ADVANCES IN CIVIL ENGINEERING, 2024, 2024
  • [38] House price forecast based on dynamic model averaging model combined with web search index
    Zheng, Xianghan
    Tian, Hao
    2018 INTERNATIONAL CONFERENCE ON CLOUD COMPUTING, BIG DATA AND BLOCKCHAIN (ICCBB 2018), 2018, : 170 - 183
  • [39] A Production Prediction Model of Tight Gas Well Optimized with a Back Propagation (BP) Neural Network Based on the Sparrow Search Algorithm
    Zhao, Zhengyan
    Ren, Zongxiao
    He, Shun'an
    Tang, Shanjie
    Tian, Wei
    Wang, Xianwen
    Zhao, Hui
    Fan, Weichao
    Yang, Yang
    PROCESSES, 2024, 12 (04)
  • [40] An MCMC model search algorithm for regression problems
    Petralias, Athanassios
    Dellaportas, Petros
    JOURNAL OF STATISTICAL COMPUTATION AND SIMULATION, 2013, 83 (09) : 1722 - 1740