Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prashver/stock-price-prediction-lstm
Using Recurrent Neural Network (RNN) and Long Short-Term Memory (LSTM), this project predicts Nestle India stock prices. The dataset spans from May 18, 2018 to May 20, 2022, and results are visualized using matplotlib.
https://github.com/prashver/stock-price-prediction-lstm
keras lstm-model matplotlib numpy pandas recurrent-neural-network
Last synced: 14 days ago
JSON representation
Using Recurrent Neural Network (RNN) and Long Short-Term Memory (LSTM), this project predicts Nestle India stock prices. The dataset spans from May 18, 2018 to May 20, 2022, and results are visualized using matplotlib.
- Host: GitHub
- URL: https://github.com/prashver/stock-price-prediction-lstm
- Owner: prashver
- Created: 2022-05-23T22:31:01.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-05-27T11:31:29.000Z (over 2 years ago)
- Last Synced: 2024-11-14T17:12:04.704Z (3 months ago)
- Topics: keras, lstm-model, matplotlib, numpy, pandas, recurrent-neural-network
- Language: Jupyter Notebook
- Homepage:
- Size: 118 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stock Price Prediction of Nestle India Using Recurrent Neural Network
Using Recurrent Neural Network (RNN) and Long Short-Term Memory (LSTM) to predict the stock prices of Nestle India.# Dataset
The dataset is taken from NSE India's website in CSV format. The dataset consists of Open, High, Low and Closing Prices of Nestle India stocks from 18th May, 2018 to 20th May, 2022 - total 1486 rows.# Architecture
The architecture of the RNN is 4 sets of LSTM (Long Short Term Memory) layers and Dropout regularization layers with the LSTM and Dropout layers sandwitched between each other. The number of time steps chosen for the RNN is 60. The model is trained on 100 epochs with a batch size of 32. The optimizer used is adam and the loss function is mean squared error.# Results
After successful prediction, the results were visualized using the matplotlib library.