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 条
  • [1] Malicious URL Classification Model Based on Improved Sparrow Search Algorithm
    Ma, Yiran
    Guan, Qihang
    Guo, Fengyuan
    Zhang, Guidong
    PROCEEDINGS OF 2021 IEEE 11TH INTERNATIONAL CONFERENCE ON ELECTRONICS INFORMATION AND EMERGENCY COMMUNICATION (ICEIEC 2021), 2021, : 21 - 25
  • [2] Indoor Positioning Model Based on Support Vector Regression Optimized by the Sparrow Search Algorithm
    Li, Hua
    Su, Jun
    Liu, Wufei
    Mang, Yucheng
    Zhou, Xianjing
    PROCEEDINGS OF THE 11TH IEEE INTERNATIONAL CONFERENCE ON INTELLIGENT DATA ACQUISITION AND ADVANCED COMPUTING SYSTEMS: TECHNOLOGY AND APPLICATIONS (IDAACS'2021), VOL 2, 2021, : 610 - 615
  • [3] An extreme learning machine model based on adaptive multi-fusion chaotic sparrow search algorithm for regression and classification
    Zhang, Ruibo
    Su, Jin
    Feng, Jinqian
    EVOLUTIONARY INTELLIGENCE, 2024, 17 (03) : 1567 - 1586
  • [4] Research on SVR Water Quality Prediction Model Based on Improved Sparrow Search Algorithm
    Su, Xuehua
    He, Xiaolong
    Zhang, Gang
    Chen, Yuehua
    Li, Keyu
    COMPUTATIONAL INTELLIGENCE AND NEUROSCIENCE, 2022, 2022
  • [5] A classification and prediction model with the sparrow search-probabilistic neural network algorithm for transformer fault diagnosis
    Hu, Ling
    Yin, Lanlan
    Mo, Feng
    Liang, Zhixun
    Ruan, Zhong
    Wang, Yuting
    INTERNATIONAL JOURNAL OF SENSOR NETWORKS, 2024, 44 (04) : 249 - 257
  • [6] Stocks price prediction based on optimized echo state network by sparrow search algorithm
    Tian, Zhengjie
    Pei, Lijun
    INTERNATIONAL JOURNAL OF DYNAMICS AND CONTROL, 2024, 12 (08) : 2764 - 2777
  • [7] Research on the Prediction Model of College Students' Sports Performance Based on Improved Sparrow Search Algorithm
    Kihong, Kweon
    Yao, Yao
    Applied Mathematics and Nonlinear Sciences, 2024, 9 (01)
  • [8] Prediction of personal default risks based on a sparrow search algorithm with support vector machine model
    Shen, Xu
    Wang, Xinyu
    MATHEMATICAL BIOSCIENCES AND ENGINEERING, 2023, 20 (11) : 19401 - 19415
  • [9] Stock Price Prediction Using Candlestick Patterns and Sparrow Search Algorithm
    Chen, Xiaozhou
    Hu, Wenping
    Xue, Lei
    ELECTRONICS, 2024, 13 (04)
  • [10] A Network Security Transmission Model Based on Improved Sparrow Search Algorithm
    Tuxun, Alimire Maimaiti
    Guo, Qingrui
    INTERNATIONAL JOURNAL OF INFORMATION SECURITY AND PRIVACY, 2024, 18 (01)