sentdex's

Scikit-Learn tutorials for Machine Learning in Python for Investing

This is the same code as in the videos, but it's easier to grab the code using:

git clone https://github.com/cleesmith/sentdex_scikit_machine_learning_tutorial_for_investing.git

or click on the Download ZIP button above.


YouTube video playlist: Scikit-learn Machine Learning with Python and SKlearn


The intraQuarter data zip file is ~255MB, which is too large to store in a github repo (max of 50MB?), so you need to download the intraQuarter.zip file separately.



S&P 500 Index Data can be downloaded from YAHOO-INDEX_GSPC


Once you have performed a git clone or a download zip/unzip, you can install all of the python packages by doing:

pip install -r requirements.txt
... or:
pip3 install -r requirements.txt