/stock-price-predictions

An example of how to use linear models to forecast stock prices.

Primary LanguagePython

Stock Prediction using scikit learn Linear Models

This script uses scikit learn's Linear Regression, Ridge Regression, and Lasso Regression models to forecast TSLA price predictions.

Quickstart

  1. Setup a virtualenv
 python3 -m venv venv
  1. Actvate that virtualenv
 . venv/bin/activate
  1. Install requirements
pip install -r requirements.txt
  1. Run the script
python ./predictions.py
  1. You should see a plot with predictiosn for each model!