Skip to content

A hybrid machine learning model as a combination of natural language processing and time series forecasting for stock market prediction using two different types of datasets: numerical and textual data.

License

Notifications You must be signed in to change notification settings

nouaim/hybridmachinelearning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stock Market Prediction using Numerical and Textual Analysis

Objective

To create a hybrid model for stock price performance prediction using numerical analysis of historical stock prices, and sentimental analysis of news headlines.

Approach

  • Extract Sentiment Scores from given news headlines dataset, with the help of nltk's SentimentIntensityAnalyzer.

  • Use Multivariate Time Series Forecasting using the LSTM (Long Short-Term Memory) model in Keras and Tensorflow. LSTM analyses the features from both sentiment scores and numerical Historical stock data to predicit opening stock prices.

Results

  • Achieved Training loss: 0.05 and Validation loss: 0.02

  • Achieved RMSE on test data : 511

Data

References:

Deep learning for stock prediction using numerical and textual information- Ryo Akita, Akira Yoshihara, Takashi Matsubara, Kuniaki Uehara

About

A hybrid machine learning model as a combination of natural language processing and time series forecasting for stock market prediction using two different types of datasets: numerical and textual data.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published