hernanrazo / stock-price-predictor

An attempt at using sci-kit learn to predict stock prices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stock Price Predictor

An attempt at using scikit learn to predict stock prices. This example uses data from Amazon's stock prices from 5/15/97 to 6/1/18. To make a prediction, This program works by using support vector regression to predict the next value in a dataset using a margin of error.

Disclaimer:

This script was mainly used to showcase support vector regression and the usefulness of the pandas library to read data from a .csv file. Predicting stocks will probably need more data and other inputs of information like sentiment analysis. Do not bid your money using this program.

Sources and Helpful links:

https://finance.yahoo.com/quote/AMZN/history?period1=863672400&period2=1527915600&interval=1d&filter=history&frequency=1d
http://www.saedsayad.com/support_vector_machine_reg.htm
https://www.youtube.com/watch?v=SSu00IRRraY
https://www.youtube.com/watch?v=yCgJGsg0Xa4

About

An attempt at using sci-kit learn to predict stock prices.


Languages

Language:Python 100.0%