Stock Price Prediction Using CNN and LSTM-Based Deep Learning Models
- URL: http://arxiv.org/abs/2010.13891v1
- Date: Thu, 22 Oct 2020 03:09:07 GMT
- Title: Stock Price Prediction Using CNN and LSTM-Based Deep Learning Models
- Authors: Sidra Mehtab and Jaydip Sen
- Abstract summary: This paper presents a suite of deep learning based models for stock price prediction.
We use the historical records of the NIFTY 50 index listed in the National Stock Exchange of India.
Our proposition includes two regression models built on convolutional neural networks and three long and short term memory network based predictive models.
- Score: 0.0
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: Designing robust and accurate predictive models for stock price prediction
has been an active area of research for a long time. While on one side, the
supporters of the efficient market hypothesis claim that it is impossible to
forecast stock prices accurately, many researchers believe otherwise. There
exist propositions in the literature that have demonstrated that if properly
designed and optimized, predictive models can very accurately and reliably
predict future values of stock prices. This paper presents a suite of deep
learning based models for stock price prediction. We use the historical records
of the NIFTY 50 index listed in the National Stock Exchange of India, during
the period from December 29, 2008 to July 31, 2020, for training and testing
the models. Our proposition includes two regression models built on
convolutional neural networks and three long and short term memory network
based predictive models. To forecast the open values of the NIFTY 50 index
records, we adopted a multi step prediction technique with walk forward
validation. In this approach, the open values of the NIFTY 50 index are
predicted on a time horizon of one week, and once a week is over, the actual
index values are included in the training set before the model is trained
again, and the forecasts for the next week are made. We present detailed
results on the forecasting accuracies for all our proposed models. The results
show that while all the models are very accurate in forecasting the NIFTY 50
open values, the univariate encoder decoder convolutional LSTM with the
previous two weeks data as the input is the most accurate model. On the other
hand, a univariate CNN model with previous one week data as the input is found
to be the fastest model in terms of its execution speed.
Related papers
- GIFT-Eval: A Benchmark For General Time Series Forecasting Model Evaluation [90.53485251837235]
Time series foundation models excel in zero-shot forecasting, handling diverse tasks without explicit training.
GIFT-Eval is a pioneering benchmark aimed at promoting evaluation across diverse datasets.
GIFT-Eval encompasses 23 datasets over 144,000 time series and 177 million data points.
arXiv Detail & Related papers (2024-10-14T11:29:38Z) - F-FOMAML: GNN-Enhanced Meta-Learning for Peak Period Demand Forecasting with Proxy Data [65.6499834212641]
We formulate the demand prediction as a meta-learning problem and develop the Feature-based First-Order Model-Agnostic Meta-Learning (F-FOMAML) algorithm.
By considering domain similarities through task-specific metadata, our model improved generalization, where the excess risk decreases as the number of training tasks increases.
Compared to existing state-of-the-art models, our method demonstrates a notable improvement in demand prediction accuracy, reducing the Mean Absolute Error by 26.24% on an internal vending machine dataset and by 1.04% on the publicly accessible JD.com dataset.
arXiv Detail & Related papers (2024-06-23T21:28:50Z) - A Study on Stock Forecasting Using Deep Learning and Statistical Models [3.437407981636465]
This paper will review many deep learning algorithms for stock price forecasting. We use a record of s&p 500 index data for training and testing.
It will discuss various models, including the Auto regression integration moving average model, the Recurrent neural network model, the long short-term model, the convolutional neural network model, and the full convolutional neural network model.
arXiv Detail & Related papers (2024-02-08T16:45:01Z) - Datamodels: Predicting Predictions from Training Data [86.66720175866415]
We present a conceptual framework, datamodeling, for analyzing the behavior of a model class in terms of the training data.
We show that even simple linear datamodels can successfully predict model outputs.
arXiv Detail & Related papers (2022-02-01T18:15:24Z) - Design and Analysis of Robust Deep Learning Models for Stock Price
Prediction [0.0]
Building predictive models for robust and accurate prediction of stock prices and stock price movement is a challenging research problem to solve.
This chapter proposes a collection of predictive regression models built on deep learning architecture for robust and precise prediction of the future prices of a stock listed in the diversified sectors in the National Stock Exchange (NSE) of India.
arXiv Detail & Related papers (2021-06-17T17:15:02Z) - Back2Future: Leveraging Backfill Dynamics for Improving Real-time
Predictions in Future [73.03458424369657]
In real-time forecasting in public health, data collection is a non-trivial and demanding task.
'Backfill' phenomenon and its effect on model performance has been barely studied in the prior literature.
We formulate a novel problem and neural framework Back2Future that aims to refine a given model's predictions in real-time.
arXiv Detail & Related papers (2021-06-08T14:48:20Z) - Robust Analysis of Stock Price Time Series Using CNN and LSTM-Based Deep
Learning Models [0.0]
We present a suite of deep learning-based regression models that yields a very high level of accuracy in stock price prediction.
We build four convolutional neural network (CNN) and five long- and short-term memory (LSTM)-based deep learning models for accurate forecasting of the future stock prices.
arXiv Detail & Related papers (2020-11-07T16:07:10Z) - Improving Event Duration Prediction via Time-aware Pre-training [90.74988936678723]
We introduce two effective models for duration prediction.
One model predicts the range/unit where the duration value falls in (R-pred); and the other predicts the exact duration value E-pred.
Our best model -- E-pred, substantially outperforms previous work, and captures duration information more accurately than R-pred.
arXiv Detail & Related papers (2020-11-05T01:52:11Z) - Stock Price Prediction Using Machine Learning and LSTM-Based Deep
Learning Models [1.335161061703997]
We propose an approach of hybrid modeling for stock price prediction building different machine learning and deep learning-based models.
We have used NIFTY 50 index values of the National Stock Exchange (NSE) of India during the period December 29, 2014 till July 31, 2020.
We exploit the power of LSTM regression models in forecasting the future NIFTY 50 open values using four different models that differ in their architecture and in the structure of their input data.
arXiv Detail & Related papers (2020-09-20T20:32:33Z) - ProphetNet: Predicting Future N-gram for Sequence-to-Sequence
Pre-training [85.35910219651572]
We present a new sequence-to-sequence pre-training model called ProphetNet.
It introduces a novel self-supervised objective named future n-gram prediction.
We conduct experiments on CNN/DailyMail, Gigaword, and SQuAD 1.1 benchmarks for abstractive summarization and question generation tasks.
arXiv Detail & Related papers (2020-01-13T05:12:38Z) - Stock Price Prediction Using Convolutional Neural Networks on a
Multivariate Timeseries [0.0]
We build various predictive models using machine learning approaches, and then use those models to predict the Close value of NIFTY 50 for the year 2019.
For predicting the NIFTY index movement patterns, we use a number of classification methods, while for forecasting the actual Close values of NIFTY index, various regression models are built.
We exploit the power of CNN in forecasting the future NIFTY index values using three approaches which differ in number of variables used in forecasting.
arXiv Detail & Related papers (2020-01-10T03:27:08Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.