A Stock Price Prediction Method based on LSTM and K-Means
DOI:
https://doi.org/10.54691/fse.v3i6.5121Keywords:
Stock Price Prediction; LSTM Model; K-Means Algorithm; Machine Learning.Abstract
Artificial neural network, as a nonlinear mapping or adaptive power system made by linking neurons,which can effectively resolve problems such as gradient explosion in stock price prediction processing. Recurrent neural network (RNN) is a common model for processing stock time-series data and is suitable for stock data involving sequential machine learning tasks, but the prediction results are poor when using long time span or nonlinear data for prediction. To address the problems of low prediction accuracy of ordinary neural networks for stock data with poor linearity and the inability of a single LSTM model to show the recommendation level of a target stock, the paper proposes a deep learning factor integrated prediction model based on LSTM-K-Means.On this basis, a stock price prediction method based on long-term and short-term memory network namely LSTM and K-means clustering algorithm is proposed. The method is not only designed to model stock ups and downs at different levels of combinations, but also more intuitively identifies stocks with better ups through returns and volatilities. Through experimental verification, the stock price prediction method based on LSTM with K-Means proposed in this paper is effective.
Downloads
References
Cui H,Yin X,Wen X.:Application of TWSVR Models in Stock Price Forecast[C].In Proceedings of the 2019 International Conference on Robotics, Intelligent Control and Artificial Intelligence,pp.29-32(2019).https://doi.org/10.1145/3366194.3366200. DOI: https://doi.org/10.1145/3366194.3366200
Qu Y,Zhang Z,Qin Z.:Wavelet-Aided Stock Forecasting Model based on Ensembled Machine Learning[C].2020 The 3rd International Conference on Machine Learning and Machine Intelligence, pp.37-39(2020).https://doi.org/10.1145/3426826.3426834. DOI: https://doi.org/10.1145/3426826.3426834
Sun L,Xu W,Liu J.:Two-channel Attention Mechanism Fusion Model of Stock Price Prediction Based on CNN-LSTM[J]. Transactions on Asian and Low-Resource Language Information Processing (TALLIP), 20(5): 1-12(2021).https://doi.org/10.1145/3453693. DOI: https://doi.org/10.1145/3453693
He Y,Mao Y,Xie X,; et al.:Multi-factor Data Mining Analysis of Stock Index Volatility[C].2021 2nd International Conference on Artificial Intelligence and Information Systems(ICAIIS), pp.1-9(2021).https://doi.org/10.1145/3469213.3470231. DOI: https://doi.org/10.1145/3469213.3470231
Huang B,Ding Q,Sun G,;et al.:Stock prediction based on bayesian-lstm[C].In Proceedings of the 2018 10th International Conference on Machine Learning and Computing(ICML), pp.128-133(2018). https://doi.org/10.1145/3195106.3195170. DOI: https://doi.org/10.1145/3195106.3195170
Lin M,Chen C.:Short-term prediction of stock market price based on GA optimization LSTM neurons[C].In Proceedings of the 2018 2nd International Conference on Deep Learning Technologies (ICDLT’18), pp.66-70(2018).https://doi.org/10.1145/3234804.3234818. DOI: https://doi.org/10.1145/3234804.3234818
Xu H,Xu B,He J,; et al.:Deep transfer learningbased on LSTM model in stock price forecasting[C]. In 5th International Conference on CrowdScience and Engineering(ICCSE’21),pp.73-80(2021). https:/ /doi.org/10.1145/3503181.3503194. DOI: https://doi.org/10.1145/3503181.3503194
Hu C,Zheng K,Liu L.:Layered exchange rate prediction model based on LSTM[C].In Proceedings of the 2020 5th International Conference on Mathematics and Artificial Intelligence(ICMAI 2020), pp.124-127(2020).https://doi.org/10.1145/3395260.3395288. DOI: https://doi.org/10.1145/3395260.3395288
Huang T.:Analysis and Discussion of Stock DataBased on Arima-Grach Model Take Dabinong as an Example[C].In The Sixth International Conference on Information Management and Technology (ICIMTECH’21),pp.1-4(2021).https://doi.org/10.1145/3465631.3465867. DOI: https://doi.org/10.1145/3465631.3465867
Chen Z.:Asset Allocation Strategy with Monte-Carlo Simulation for Forecasting Stock Price byARIMA Model[C].In 13th International Conference on E-Education, E-Business, E-Management, and E-Learning (IC4E 2022),pp.481-485(2022).https://doi.org/10.1145/3514262.3514331. DOI: https://doi.org/10.1145/3514262.3514331
Sun Z.:Comparison of Trend Forecast Using ARIMA and ETS Models for S&P500 Close Price[C].In The 4th International Conference on E-Business and Internet(ICEBI 2020),pp.57-60(2020). https: //doi.org/10.1145/3436209.3436894. DOI: https://doi.org/10.1145/3436209.3436894
Li C,Zhang Y,Jiao M,; et al.:Mux-Kmeans: multiplex Kmeans for clustering large-scale data set[C].In Proceedings of the 5th ACM workshop on Scientific cloud computing(Science Cloud’14),pp.25-32(2014).https://doi.org/10.1145/2608029.2608033. DOI: https://doi.org/10.1145/2608029.2608033
Ta V D,Liu C M.:Stock market analysis using clustering techniques: the impact of foreign ownership on stock volatility in Vietnam[C].In Proceedings of the Seventh Symposium on Information and Communication Technology(Soict’16),pp.99-106(2016).https://doi.org/10.1145/3011077. 30111 40. DOI: https://doi.org/10.1145/3011077.3011140
Cho C H,Lee G Y,Tsai Y L,;et al.:Toward stockprice prediction using deep learning[C].In Proceedings of the 12th IEEE/ACM International Conference on Utility and Cloud Computing Companion (UCC’ 19 Companion),pp.133-135(2019).https://doi.org/10.1145/3368235.3369367. DOI: https://doi.org/10.1145/3368235.3369367
Abe M,Nakagawa K.:Cross-sectional stock priceprediction using deep learning for actual investment management[C].In Proceedings of the 2020Asia Service Sciences and Software Engineering Conference (ASSE’20), pp.9-15(2020).https://doi.org/10.1145/3399871.3399889. DOI: https://doi.org/10.1145/3399871.3399889
Koratamaddi P,Wadhwani K,Gupta M,;et al.:Market sentiment-aware deep reinforcement learningapproach for stock portfolio allocation[J]. Engineering Science and Technology, an International Journal(CODS COMAD 2021),24(4): 848-859(2021).https://doi.org/10.1145/ 34309 84.3431045. DOI: https://doi.org/10.1016/j.jestch.2021.01.007
Downloads
Published
Issue
Section
License

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.




