Created
January 30, 2021 13:50
-
-
Save grahamharrison68/9331c003ed20b053ad594a8c5d1b703d to your computer and use it in GitHub Desktop.
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
import pandas as pd | |
import numpy as np | |
import graphviz | |
import pydotplus | |
import matplotlib.image as mpimg | |
import io | |
import random | |
from matplotlib import pyplot as plt | |
from sklearn.tree import DecisionTreeClassifier, DecisionTreeRegressor | |
from sklearn.model_selection import train_test_split, GridSearchCV | |
from sklearn import preprocessing, tree, datasets | |
from dtreeviz.trees import dtreeviz | |
pd.set_option('display.max_rows', 10) | |
random.seed(24) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment