Skip to content

MuslemRahimi/regression_models

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog Post

For more explanation about the code you can find the blog post here:

https://medium.com/@mrahimi_29846/stock-price-prediction-with-regression-models-365487c48809

Code

In this repository we will show how to build regression models to predict the close price of your favorite stocks for the next 30 days.

We experimented with linear regression, support vector regressor and random forest regressor but the code can be easily extended to include other regression models too.

The result of the support vector regressor can be seen here:

SVR

Furthermore we compared the three different regression models based on the variance score and r2 score on their training and test dataset.

metric_regression

Faster solution

To quickly test the code without the hassle of installing libraries and compiling it on your local machine, visit https://stocknear.com. You can find everything we have discussed and more on my website, which offers a user-friendly interface to begin predicting stock prices for your favorite stocks instantly.

About

Stock price prediction with regression models

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages