Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.32 KB

File metadata and controls

39 lines (25 loc) · 1.32 KB

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.