Binary Classification on Stock Market (S&P 500) using Naive Bayes and Logistic Regression
Neil Prabhu, Mike Padden and Sutter Grune
- Install Python 3.5+ from python.org or using 'sudo apt-get install python3'.
- Install pip:
- Unix: 'sudo apt-get install python3-pip'.
- Other: Follow pip's manual installation instructions.
- Ensure pip is up to date: 'pip install --upgrade pip'.
- Install Jupyter: 'pip install jupyter'.
- Install required dependencies: 'pip install pandas-datareader pip install fix_yahoo_finance pip install matplotlib pip install sklearn pip install pandas'.
- Download the data files using the code in the file CSProject.ipynb (In the google drive, you can find both original and processed data)
- Open the project notebook: CSProject.ipynb
- 'sklearn': Machine learning algorithm library
- 'pandas-datareader': tool to capture data into a pandas dataframe
- 'fix_yahoo_finance': tool to get Yahoo! Finance data
- 'matplotlib': Data plotting tool
- 'pandas': Data processing toolkits