Skip to main content

Stock Prediction Using Machine Learning and Sentiment Analysis

  • Conference paper
  • First Online:
Computational Intelligence in Machine Learning (ICCIML 2022)

Part of the book series: Lecture Notes in Electrical Engineering ((LNEE,volume 1106))

  • 145 Accesses

Abstract

Predicting stock market behavior has been a sector of interest to many researchers, especially in the field of statistics and data analysis. The ability to analyze the stock market that appears to lack consistency, but also appears to be impacted by historical events is still a challenge. Long Short-Term Memory (LSTM) network model, Linear Regression model, Autoregressive Integrated Moving Average (ARIMA), and the stock market prediction using Sentiment Analysis are included in the proposed model. The dataset used is based on real-time stock market data from Yahoo finance website. The calculated root mean square value predicts how much the data is concentrated near the best equity line. Emotional/Sentiment Analysis is done using twitter API and natural language processing. The result obtained proves that the proposed model can be used to predict future stock market behavior.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 299.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 379.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Lawal ZK, Yassin H, Zakari RY (2020) Stock market prediction using supervised machine learning techniques: an overview. In: IEEE Asia-Pacific conference on computer science and data engineering (CSDE)

    Google Scholar 

  2. Iyer M, Mehra R (2018) A survey on stock market prediction. In: Fifth International conference on parallel, distributed and grid computing (PDGC)

    Google Scholar 

  3. Vats P, Samdani K (2019) Study on machine learning techniques in financial markets. In: IEEE international conference on system, computation, automation and networking (ICSCAN), India

    Google Scholar 

  4. Jia H (2016) Investigation into the effectiveness of long short term memory networks for stock price prediction. arXiv [cs.NE]

    Google Scholar 

  5. Lu W, Li J, Li Y, Sun A, Wang J (2020) A CNN-LSTM-based model to forecast stock prices. Complexity (1)

    Google Scholar 

  6. Mandloi L, Patel R (2020) Twitter sentiments analysis using machine learning methods. In: International conference for emerging technology (INCET)

    Google Scholar 

  7. Istiake Sunny MA, Maswood MMS, Alharbi AAG (2020) Deep learning-based stock price prediction using LSTM and Bi—Directional LSTM model. In: 2nd novel intelligent and leading emerging sciences conference (NILES)

    Google Scholar 

  8. Wang Y, Liu Y, Wang M, Liu R (2018) LSTM model optimization on stock price forecasting. In: 17th international symposium on distributed computing and applications for business engineering and science (DCABES)

    Google Scholar 

  9. Cakra YE, Distiawan Trisedya B (2015) Stock price prediction using linear regression based on sentiment analysis. In: 6th international conference on advanced computer science and information systems (ICACSIS)

    Google Scholar 

  10. Shrivastav LK, Kumar R (2019) An empirical analysis of stock market price prediction using ARIMA and SVM. In: 6th international conference on computing for sustainable global development (INDIACom)

    Google Scholar 

  11. Yadav N, Kudale O, Gupta S, Rao A, Shitole A (2020) Twitter Sentiment analysis using machine learning for product evaluation. In: International conference inventive computation technologies (ICICT)

    Google Scholar 

  12. Vazirani S, Sharma A, Sharma P (2020) Analysis of various machine learning algorithm and hybrid model for stock market prediction using python. In: International conference on smart technologies in computing, electrical and electronics (ICSTCEE)

    Google Scholar 

  13. Qi Y, Yu W, Deng Y (2021) Stock prediction under COVID-19 based on LSTM. In: IEEE Asia-Pacific conference on image processing, electronics and computers (IPEC)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Onkar Kunte .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Bailke, P., Kunte, O., Bitke, S., Karwa, P. (2024). Stock Prediction Using Machine Learning and Sentiment Analysis. In: Gunjan, V.K., Kumar, A., Zurada, J.M., Singh, S.N. (eds) Computational Intelligence in Machine Learning. ICCIML 2022. Lecture Notes in Electrical Engineering, vol 1106. Springer, Singapore. https://doi.org/10.1007/978-981-99-7954-7_42

Download citation

Publish with us

Policies and ethics