Skip to content

Predicting Apple Stock Price, we will build an LSTM Model to forecast Apple Stock Prices, using Tensorflow

Notifications You must be signed in to change notification settings

rahkum96/Predicting-Apple-Stock-Price-Using-An-LSTM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Predicting-Apple-Stock-Price-Using-An-LSTM

Predicting Apple Stock Price

Note:

This Repo (model) sole purpose is to examine and demonstrate how Machine Learning Models perform in the stock market; it is not intended to provide investing advice! The stock market is volatile, and it is not recommended for novices without prior knowledge!

Historical closing price of Apple stock

Date: start='2015-01-01',end='2021-09-30'

image

Modules needed:

- pandas_datareader
- Keras
- Tensorflow V2.6.0
- Pandas 
- Scikit-Learn & 
- Numpy

Usage

Just run jupyter notebook in terminal and it will run in your browser.

Install Jupyter here i've you haven't.

Loss plot

image

Stock Prediction:

image

Conclusion:

Our model performed admirably, as can be seen. It can accurately follow most unusual jumps/drops; however, we can observe that the model expected (predicted) lower values than the actual stock price for the most recent date stamps.

About

Predicting Apple Stock Price, we will build an LSTM Model to forecast Apple Stock Prices, using Tensorflow

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published