Skip to content

benji/sentdex-regression-forecasting-and-predicting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sentdex-regression-forecasting-and-predicting

Based on Sentdex linear regression tutorials series.

Prep

Download the working dataset with:

python download_dataset.py

Lesson 5

Modifications:

  • We changed the we train on all the rows except last 60
  • we use the next 30 rows to make predictions of the last 30 rows' stock prices to be able to visually compare
  • we use the last 30 rows to make predictions 30 days into the future
  • changes to simplify the datetime manipulations

The red line show actual stock data, the blue line shows the prediction of the model that carries out 30 days into the future (at the time).

About

Based on linear regression tutorial by sentdex

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages