This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"January": 1, "February": 2, "March": 3, "April": 4, "May": 5, "June": 6, "July": 7, "August": 8, "September": 9, "October": 10, "November": 11, "December": 12} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Python 3.6.4 | |
import numpy as np | |
import pandas as pd | |
import iml | |
import xgboost | |
import shap | |
from tqdm import tqdm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Note this is designed to run for Python 3.6 | |
# -- Pre reqs: | |
# 1. Install Python (I like using Miniconda, version 3.6) | |
# 2. Install Git | |
# 3. Install a chromedriver | |
# 4. Install Chrome | |
# 5. Install Python dependencies | |
from pyvirtualdisplay import Display # For headless browsing |