Cargando…

Using Social Network Sentiment Analysis and Genetic Algorithm to Improve the Stock Prediction Accuracy of the Deep Learning-Based Approach

Traditionally, most investment tools used to predict stocks are based on quantitative variables, such as finance and capital flow. With the widespread impact of the Internet, investors and investment institutions designing investment strategies are also referring to online comments and discussions....

Descripción completa

Detalles Bibliográficos
Autores principales: Huang, Jia-Yen, Tung, Chun-Liang, Lin, Wei-Zhen
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Springer Netherlands 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10226444/
http://dx.doi.org/10.1007/s44196-023-00276-9
_version_ 1785050576398057472
author Huang, Jia-Yen
Tung, Chun-Liang
Lin, Wei-Zhen
author_facet Huang, Jia-Yen
Tung, Chun-Liang
Lin, Wei-Zhen
author_sort Huang, Jia-Yen
collection PubMed
description Traditionally, most investment tools used to predict stocks are based on quantitative variables, such as finance and capital flow. With the widespread impact of the Internet, investors and investment institutions designing investment strategies are also referring to online comments and discussions. However, multiple information sources, along with uncertainties accompanying international political and economic events and the recent pandemic, have left investors concerned about information interpretation approaches that could aid investment decision-making. To this end, this study proposes a method that combines social media sentiment, genetic algorithm (GA), and deep learning to predict changes in stock prices. First, it employs a hybrid genetic algorithm (HGA) combined with machine learning to identify chip-based indicators closely related to fluctuations in stock prices and then uses them as input for long short-term memory (LSTM) to establish a prediction model. Next, this study proposes five sentiment variables to analyze PTT social media on TSMC’s stock price and performs a grey relational analysis (GRA) to identify the sentiment variables most closely related to stock price fluctuations. The sentiment variables are then combined with the selected chip-based indicators as input to build the LSTM prediction model. To improve the efficiency of the LSTM analysis, this study applies the Taguchi method to optimize the hyper-parameters. The results show that the proposed method of using HGA-screened chip-based variables and social media sentiment variables as input to establish an LSTM prediction model can effectively improve the prediction accuracy of stock price fluctuations.
format Online
Article
Text
id pubmed-10226444
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher Springer Netherlands
record_format MEDLINE/PubMed
spelling pubmed-102264442023-05-30 Using Social Network Sentiment Analysis and Genetic Algorithm to Improve the Stock Prediction Accuracy of the Deep Learning-Based Approach Huang, Jia-Yen Tung, Chun-Liang Lin, Wei-Zhen Int J Comput Intell Syst Research Article Traditionally, most investment tools used to predict stocks are based on quantitative variables, such as finance and capital flow. With the widespread impact of the Internet, investors and investment institutions designing investment strategies are also referring to online comments and discussions. However, multiple information sources, along with uncertainties accompanying international political and economic events and the recent pandemic, have left investors concerned about information interpretation approaches that could aid investment decision-making. To this end, this study proposes a method that combines social media sentiment, genetic algorithm (GA), and deep learning to predict changes in stock prices. First, it employs a hybrid genetic algorithm (HGA) combined with machine learning to identify chip-based indicators closely related to fluctuations in stock prices and then uses them as input for long short-term memory (LSTM) to establish a prediction model. Next, this study proposes five sentiment variables to analyze PTT social media on TSMC’s stock price and performs a grey relational analysis (GRA) to identify the sentiment variables most closely related to stock price fluctuations. The sentiment variables are then combined with the selected chip-based indicators as input to build the LSTM prediction model. To improve the efficiency of the LSTM analysis, this study applies the Taguchi method to optimize the hyper-parameters. The results show that the proposed method of using HGA-screened chip-based variables and social media sentiment variables as input to establish an LSTM prediction model can effectively improve the prediction accuracy of stock price fluctuations. Springer Netherlands 2023-05-29 2023 /pmc/articles/PMC10226444/ http://dx.doi.org/10.1007/s44196-023-00276-9 Text en © The Author(s) 2023 https://creativecommons.org/licenses/by/4.0/Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) .
spellingShingle Research Article
Huang, Jia-Yen
Tung, Chun-Liang
Lin, Wei-Zhen
Using Social Network Sentiment Analysis and Genetic Algorithm to Improve the Stock Prediction Accuracy of the Deep Learning-Based Approach
title Using Social Network Sentiment Analysis and Genetic Algorithm to Improve the Stock Prediction Accuracy of the Deep Learning-Based Approach
title_full Using Social Network Sentiment Analysis and Genetic Algorithm to Improve the Stock Prediction Accuracy of the Deep Learning-Based Approach
title_fullStr Using Social Network Sentiment Analysis and Genetic Algorithm to Improve the Stock Prediction Accuracy of the Deep Learning-Based Approach
title_full_unstemmed Using Social Network Sentiment Analysis and Genetic Algorithm to Improve the Stock Prediction Accuracy of the Deep Learning-Based Approach
title_short Using Social Network Sentiment Analysis and Genetic Algorithm to Improve the Stock Prediction Accuracy of the Deep Learning-Based Approach
title_sort using social network sentiment analysis and genetic algorithm to improve the stock prediction accuracy of the deep learning-based approach
topic Research Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10226444/
http://dx.doi.org/10.1007/s44196-023-00276-9
work_keys_str_mv AT huangjiayen usingsocialnetworksentimentanalysisandgeneticalgorithmtoimprovethestockpredictionaccuracyofthedeeplearningbasedapproach
AT tungchunliang usingsocialnetworksentimentanalysisandgeneticalgorithmtoimprovethestockpredictionaccuracyofthedeeplearningbasedapproach
AT linweizhen usingsocialnetworksentimentanalysisandgeneticalgorithmtoimprovethestockpredictionaccuracyofthedeeplearningbasedapproach