Below you will find pages that utilize the taxonomy term “Machine Learning”
Post
Project 5 - Stock Price Prediction in Python
Description The program uses an artifical Recurrent Nerual Network (RNN) called Long Short Term Memory (LSTM) to predict the closing stock price of a corporation, like Apple Inc. using the past 60 day stock price.
Firstly, we import the library for computation processing. We get the stock quote from the website Yahoo using web.DataReader(), specifying the start date and end date of data extraction. Then we show the dataframe by commaning df, which comprises of 2270 rows (a day for a row), and 6 columns (Hig, Low, Open, Close, Volume, Adjusted Close).