Skip to content

ML Project forecasting the closing price of Amazon's stock for a given day leveraging its historical performance data. The model performes time-series forecasting with Rolling OLS Regression.

License

Notifications You must be signed in to change notification settings

VictorSquidWei/Amazon-Stock-Forecast-with-Rolling-OLS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Amazon Stock Price Prediction

This repository contains a Jupyter notebook AMZNStockPrediction.ipynb demonstrating the process of predicting Amazon's stock prices using Rolling Ordinary Least Squares (RollingOLS) model.

Project Structure

  • Data Importing and Visualizing: The data is imported, cleaned, and visualized to understand the trends in Amazon's stock prices over time.
  • Data Preprocessing: The dataset is split into a training set (2010-2015) and a testing set (2016).
  • Model Building: A RollingOLS model is trained.
  • Performance Evaluation: The model's performance is evaluated on the test set. RMSE is used as the performance metric.
  • Conclusion: Final remarks and directions for future work.

Usage

  • Clone this repository
  • Unzip the prices-split-adjusted.zip file
  • Open the AMZNStockPrediction.ipynb notebook
  • See appendix for required packages
  • Run the notebook cells

Note

This project is a demonstration of time series prediction and should not be used for making actual investment decisions.

About

ML Project forecasting the closing price of Amazon's stock for a given day leveraging its historical performance data. The model performes time-series forecasting with Rolling OLS Regression.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published