Abstract
From past times, there is strong link between finances, currencies and economic growth the future and progress of humankind. Now a days, the future of economic development is dictated by fortunes and vagaries prevalent in share stock markets. Researchers have found that it is possible to make forecasts with large historical data on stock market and up-down in prices of share values. So, the fact that stock markets play a really vital role in national and global economy, which is today undeniable. Stock markets can be profitable by speculations provided, of course though the future behavior can be forecast with a constant degree of accuracy. In this study, the authors propose a model which help to guess stock market trends consistently and with minimal of error value. The model discussed here makes the use of sentiment analyses based on financial news and also historical patterns of stocks in share markets and can offer more accurate results to analyses data from multiple news sources and historical price movement of individual stocks. By using a two-step process, the model offers a minimum prediction accuracy value of 72%. In the first step, Naïve Bayes algorithm is used to evaluate text polarity to obtain a fix on public sentiment based on news feeds collected and received. In the second step, the future stock prices are forecasted by combining the evaluation results on text polarity with historical data on stock value price up-down.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Wyss B (2001) Fundamentals of the stock market. McGraw Hill, pp 1–245
Khan W, Ghazanfar MA, Azam MA, Karami A, Alyoubi KH, Alfakeeh AS (2020) Stock market prediction using machine learning classifiers and social media, news. Jo Ambient Intelligence Humanized Comput
See-To EWK, Yang Y (2017) Market sentiment dispersion and its effects on stock return and volatility. Electron Mark 27:283–296
Xindan LI, Bing Z (2017) Stock market behavior and Investor sentiment: evidence from China. Front Bus Res China 2(2):277–282
Smailovic J, Grcar M, Lavrac N, Znidarsic M (2013) Predictive sentiment analysis of tweets: a stock market application. Human-computer interaction and knowledge discovery in complex, unstructured, big data. HCI-KDD 2013. Lect Notes Comput Sci 7947:77–88
Wang H, Ou P (2009) Prediction of stock market index movement by ten data mining techniques. Mod Appl Sci 3(12):28–42
Shu-e Y, Qiang Z (2009) Noise trading, investor sentiment volatility, and stock returns. Syst Eng Theor Pract 29(3):40–47
Pal R, Pawar U, Zambare K, Hole V (2020) Predicting stock market movement based on twitter data and news articles using sentiment analysis and fuzzy logic. In: Second international conference on computer networks and communication technologies. Lecture Notes on Data Engineering and Communications Technologies, vol 44, pp 561–571
Bose R, Dey RK, Roy S, Sarddar D (2018) Analyzing political sentiment using twitter data. Information and communication technology for intelligent systems. Smart Innov Syst Technol 107:427–436
Federer LM, Belter CW, Joubert DJ, Livinski A, Lu Y-L, Snyders LN, Thompson H (2018) Data sharing in PLOS ONE: an analysis of data availability statements. PLoS ONE 13(5):1–12
Biswas S, Sarkar I, Das P, Bose R, Roy S (2020) Examining the effects of pandemics on stock market trends through sentiment analysis. J Xidian Univ 6:1163–1176
Biswas S, Ghosh AK, Chakraborty S, Roy S, Bose R (2020) Scope of sentiment analysis on news articles regarding stock market and GDP in struggling economic condition. Int J Emerging Trends Eng Res 8(7):3594–3609
Han J, Kamber M, Pei J (2011) Data mining concepts and techniques. Morgan Kaufmann 3:1–744
Namugera F, Wesonga R, Jehopio P (2019) Text mining and determinants of sentiments: twitter social media usage by traditional media houses in Uganda. Comput Soc Netw 6(3):1–21
Aqlan AAQ, Manjula B, Lakshman Naik R (2019) A study of sentiment analysis: concepts, techniques, and challenges. In: International conference on computational intelligence and data engineering. Lecture Notes on Data Engineering and Communications Technologies, vol 28, pp 14–162
Sharma D, Sabharwal M, Goyal V, Vij M (2020) Sentiment analysis techniques for social media data: a review. In: First international conference on sustainable technologies for computational intelligence 1045:75–90
Kothari AA, Patel WD (2015) A novel approach towards context sensitive recommendations based on machine learning methodology. In: Fifth international conference on communication systems and network technologies 2015:1114–1118
Basari ASH, Hussin B, Ananta GP (2012) Opinion mining of movie review using hybrid method of support vector machine and particle swarm optimization. In: Malaysian Technical Universities Conference on Engineering and Technology (MUCET) 4:545–552
Gopal A, Sultani MM, Bansal JC (2019) On stability analysis of particle swarm optimization algorithm. Arab J Sci Eng 1–10
Kennedy J, Eberhart R (1995) Particle swarm optimization. In: International conference on neural networks 4:1942–1948
Khan W, Ghazanfar MA, Azam MA, Karami A, Alyoubi KH, Alfakeeh AS (2020) Stock market prediction using machine learning classifiers and social media news. J Ambient Intelligence Humanized Comput
More P, Ghotkar A (2016) A study of different approaches to aspect-based opinion mining. Int J Comput Appl 145(6):11–15
Smeureanu I, Bucur C (2012) Applying supervised opinion mining techniques on online user reviews. Informatica Economica 16(2):81–91
Sharma D, Sabharwal M (2019) Sentiment analysis for social media using SVM classifier of machine learning. Int J Innov Technol Exploring Eng (IJITEE) 8(9):39–47
Umamaheswari K, Rajamohana SP, Aishwaryalakshmi G. Opinion mining using hybrid methods. Int J Comput Appl 18–21
Sarddar D, Dey RK, Bose R, Roy S. Topic modeling as a tool to gauge political sentiments from twitter feeds. Int J Natural Comput Res (IJNCR) 9(2):1–22
Srivastava DK, Bhambhu L (2009) Data classification using support vector machine. J Theor Appl Information Technol 1–7
Hastie T, Rosset S, Tibshirani R, Zhu J (2004) The entire regularization path for the support vector machine. J Mach Learn Res 5:1391–1415
Tong S, Koller D (2001) Support vector machine active learning with applications to text classification. J Mach Learn Res 45–66
Chang C-C, Lin C-J (2011) LIBSVM: a library for support vector. ACM Trans Intelligent Syst Technol 2(3):1–27
Watson TJ (2001) An empirical study of the naive Bayes classifier, pp 1–6
Ahmad S, Asghar MZ, Alotaibi FM, Awan I (2019) Detection and classification of social media-based extremist affiliations using sentiment analysis techniques. Human Centric Comput Information Sci 9:24
Ding G, Qin L (2019) Study on the prediction of stock price based on the associated network model of LSTM. Int J Mach Learn Cybern 1–11
Wilson JR, Lorenz KA (2015) Standard binary logistic regression model. In: Modeling binary correlated responses using SAS, SPSS and R. ICSA Book Series in Statistics, vol 9, pp 25–54
Tolles J, Meurer WJ (2016) Logistic regression relating patient characteristics to outcomes. JAMA Guide Statistics Methods 316(5):533–534
Phienthrakul T, Kijsirikul B, Takamura H, Okumura M (2009) Sentiment classification with support vector machines and multiple kernel functions. In: Leung CS, Lee M, Chan JH (eds) Neural information processing. ICONIP 2009. Lecture Notes in Computer Science, vol 5864, pp 583–592
Cai L, Hofmann T (2004) Hierarchical document categorization with support vector machines. In: CIKM’04, ACMI, pp 78–87
Altman NS (1992) An introduction to Kernel and nearest-neighbor nonparametric regression. Am Stat 46(3):175–185
Verma P, Om H (2019) A novel approach for text summarization using optimal combination of sentence scoring methods. Sadhana 44(110)
Porter M (1980) An algorithm for suffix stripping. In: Program: electronic library and information systems, vol 14, issue 3, pp 130–137
Ting KM (2017) Confusion matrix. Encyclopedia of machine learning and data mining
Singh R, Baidya D (2019) Usage of data science to predict string integrity failures. Society of Petroleum Engineers
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Biswas, S., Ghosh, S. (2022). A Comparative Study into Stock Market Prediction Through Various Sentiment Analysis Algorithms. In: Tavares, J.M.R.S., Dutta, P., Dutta, S., Samanta, D. (eds) Cyber Intelligence and Information Retrieval. Lecture Notes in Networks and Systems, vol 291. Springer, Singapore. https://doi.org/10.1007/978-981-16-4284-5_11
Download citation
DOI: https://doi.org/10.1007/978-981-16-4284-5_11
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-16-4283-8
Online ISBN: 978-981-16-4284-5
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)