Computer Science ›› 2021, Vol. 48 ›› Issue (6A): 151-157.doi: 10.11896/jsjkx.200400011

• Big Data & Data Science • Previous Articles     Next Articles

Stock Forecast Based on Optimized LSTM Model

HU Yu-wen   

  1. College of Statistics,Jiangxi University of Finance and Economics,Nanchang 330013,China
  • Online:2021-06-10 Published:2021-06-17
  • About author:HU Yu-wen,born in 1996,postgradua-te.His main research interests include mathematical statistics,financial statistics and deep learning.

Abstract: Stock forecasting research has always been a problem that plagued investors.In the past,investors used traditional analysis methods such as K-line diagrams and Yin-Yang lines to predict stock trends.However,with the advancement of science and technology,the development of economic markets,and changes in economic policies,the price trend of a stock is disturbed by various factors.Traditional analysis methods are far from being able to analyze theinformation in volatility of a stock.So prediction accuracy is greatly reduced.In order to improve the prediction accuracy of stock prices,this paper proposes a stock price prediction model based on PCA,LASSO,and LSTM neural networks.Based on the data of the five major categories of technical indicators of Ping An Bank (000001) from 2015 to 2019,the five major categories of indicators are reduced and screened using the PCA and LASSO methods,and the LSTM model is used to predict the closing price of Ping An Bank's stock,compared with the stability and accuracy ofthe previous two methods and using LSTM alone.The experimental results show that the PCA-LSTM model significantly reduces data redundancy and obtains better prediction accuracy than the LASSO-LSTM model and LSTM model.

Key words: LASSO, LSTM, PCA, Ping An bank, Technical index

CLC Number: 

  • TP183
[1] YANG Q,CAO X B.Analysis and prediction of stock pricebased on arma-garch model [J].Practice and Understanding of Mathematics,2016,46(6):80-86.
[2] HUANG L J,JIN T X.Stability of Islamic stock market based on egarch-m model [J].Gansu Academic Journal of theory,2019(6):107-115.
[3] FANG J.Empirical research on VaR Measurement of China's stock market:semi parametric method based on igarch [J].Financial Theory and Teaching,2018(3):15-18.
[4] CAO X,SUN H B.Stock price prediction based on GreyGARCH model and BP neural network [J].Software,2017,38(11):126-131.
[5] DENG J K,WAN L,HUANG N N.Research on Stock Forecasting Based on dae-bp neural network [J].Computer Engineering and Application,2019,55(3):126-132.
[6] ZHENG G J.Stock time series analysis and prediction based on Internet investor sentiment [D].Hangzhou:Zhejiang University of technology,2019.
[7] LIANG X Z.Research on the relationship between investor sentiment and stock returns [D].Beijing:Beijing Jiaotong University,2017.
[8] WANG J Z.Application of improved adaptive lasso method in stock market [J].Mathematical Statistics and Management,2019,38(4):750-760.
[9] YU H H,CHEN R D,ZHANG G P.A SVM Stock SelectionModel within PCA[J].Procedia Computer Science,2014,31.
[10] REN T Y.An Empirical Study of Stock Return and InvestorSentiment Based on Text Mining and LSTM[C]//Proceedings of the 2019 4th International Conference on Social Sciences and Economic Development(ICSSED 2019).2019.
[11] JIA M Z,HUANG J,PANG L H,et al.Analysis and Research on Stock Price of LSTM and Bidirectional LSTM Neural Network[C]//Proceedings of the 3rd International Conference on Computer Engineering,Information Science & Application Technology(ICCIA 2019).2019.
[12] YANG Q,WANG C W.Global stock index prediction based on deep learning LSTM neural network [J].Statistical Research,2019,36(3):65-77.
[13] PENG Y,LIU Y H,ZHANG R F.Modeling and analysis ofstock price forecasting based on LSTM [J].Computer Engineering and Application,2019,55(11):209-212.
[14] CHEN J,LIU D X,WU D S.Research on stock index prediction method based on feature selection and LSTM model [J].Computer Engineering and Application,2019,55(6):108-112.
[15] TIBSHIRANI R.Regression shrinkage and selection via the lasso:A retrospective[J].Journal of the Royal Statistical Society:Series B(Statistical Methodology),2011,73(3):273-282.
[16] HAN H,LIU G L,SUN T Y,et al.Text sentiment analysis based on multi attention level neural network [J].Computer Engineering and Application.
[17] PEI D W,ZHU M.Stock price prediction based on multi factor and multi variable long term and short term memory network [J].Computer System Applications,2019,28(8):30-38.
[18] ZENG A,NIE W J.Stock recommendation system based on deep bidirectional LSTM [J].Computer Science,2019,46(10):84-89.
[19] REN J,WANG J H,WANG C M,et al.Stock forecasting system based on elstm-l model [J].Statistics and Decision,2019,35(21):160-164.
[20] FENG Y X,LI Y M.Research on prediction model of CSI 300 index based on LSTM neural network [J].Practice and Understanding of Mathematics,2019,49(7):308-315.
[21] LI S S.Securities selection based on long term memory neural network [D].Zhengzhou:Zhengzhou University,2019.
[22] XU T T.Research on stock price rise and fall prediction based on LSTM neural network model [D].Shanghai:Shanghai Normal University,2019.
[1] JIN Fang-yan, WANG Xiu-li. Implicit Causality Extraction of Financial Events Integrating RACNN and BiLSTM [J]. Computer Science, 2022, 49(7): 179-186.
[2] ZHANG Yuan, KANG Le, GONG Zhao-hui, ZHANG Zhi-hong. Related Transaction Behavior Detection in Futures Market Based on Bi-LSTM [J]. Computer Science, 2022, 49(7): 31-39.
[3] WANG Shan, XU Chu-yi, SHI Chun-xiang, ZHANG Ying. Study on Cloud Classification Method of Satellite Cloud Images Based on CNN-LSTM [J]. Computer Science, 2022, 49(6A): 675-679.
[4] LIN Xi, CHEN Zi-zhuo, WANG Zhong-qing. Aspect-level Sentiment Classification Based on Imbalanced Data and Ensemble Learning [J]. Computer Science, 2022, 49(6A): 144-149.
[5] LI Peng-zu, LI Yao, Ibegbu Nnamdi JULIAN, SUN Chao, GUO Hao, CHEN Jun-jie. Construction and Classification of Brain Function Hypernetwork Based on Overlapping Group Lasso with Multi-feature Fusion [J]. Computer Science, 2022, 49(5): 206-211.
[6] DING Feng, SUN Xiao. Negative-emotion Opinion Target Extraction Based on Attention and BiLSTM-CRF [J]. Computer Science, 2022, 49(2): 223-230.
[7] ZHANG Cheng-rui, CHEN Jun-jie, GUO Hao. Comparative Analysis of Robustness of Resting Human Brain Functional Hypernetwork Model [J]. Computer Science, 2022, 49(2): 241-247.
[8] YUAN Jing-ling, DING Yuan-yuan, SHENG De-ming, LI Lin. Image-Text Sentiment Analysis Model Based on Visual Aspect Attention [J]. Computer Science, 2022, 49(1): 219-224.
[9] HUANG Xiao-sheng, XU Jing. Multi-focus Image Fusion Method Based on PCANet in NSST Domain [J]. Computer Science, 2021, 48(9): 181-186.
[10] CHENG Si-wei, GE Wei-yi, WANG Yu, XU Jian. BGCN:Trigger Detection Based on BERT and Graph Convolution Network [J]. Computer Science, 2021, 48(7): 292-298.
[11] YU Jian-ye, QI Yong, WANG Bao-zhuo. Distributed Combination Deep Learning Intrusion Detection Method for Internet of Vehicles Based on Spark [J]. Computer Science, 2021, 48(6A): 518-523.
[12] CHEN Hui-qin, GUO Guan-cheng, QIN Chao-xuan, LI Zhao-bi. Research on Elderly Population Prediction Based on GM-LSTM Model in Nanjing City [J]. Computer Science, 2021, 48(6A): 231-234.
[13] ZHANG Qiang, HUANG Zhang-can, TAN Qing, LI Hua-feng, ZHAN Hang. Pyramid Evolution Strategy Based on Dynamic Neighbor Lasso [J]. Computer Science, 2021, 48(6): 215-221.
[14] ZHANG Zheng-wan, WU Di, ZHANG Chun-jiong. Study of Cellular Traffic Prediction Based on Multi-channel Sparse LSTM [J]. Computer Science, 2021, 48(6): 296-300.
[15] DONG Zhe, SHAO Ruo-qi, CHEN Yu-liang, ZHAI Wei-feng. Named Entity Recognition in Food Field Based on BERT and Adversarial Training [J]. Computer Science, 2021, 48(5): 247-253.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!