Created
May 30, 2020 10:49
-
-
Save cereniyim/e3cf782765dde2640c63df9007a131f4 to your computer and use it in GitHub Desktop.
Imports of the 3rd Notebook
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
# visualization and manipulation libraries | |
import matplotlib.pyplot as plt | |
import seaborn as sns | |
from IPython.core.pylabtools import figsize | |
import pandas as pd | |
import numpy as np | |
pd.set_option('display.max_columns', 60) | |
%matplotlib inline | |
# to display visuals in the notebook | |
%config InlineBackend.figure_format='retina' | |
#to enable high resolution plots | |
# feature prepocessing and split | |
from sklearn.metrics import mean_squared_error | |
# machine Learning Models | |
from sklearn.ensemble import RandomForestRegressor | |
# to load machine learning model | |
import pickle | |
# to visualize a decision tree | |
import sklearn.tree as tree | |
import pydotplus | |
from sklearn.externals.six import StringIO | |
from IPython.display import Image | |
# LIME to explain predictions | |
import lime | |
import lime.lime_tabular | |
# to bypass warnings in section regarding previous imports | |
import warnings | |
warnings.filterwarnings('ignore') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment