Skip to content

Instantly share code, notes, and snippets.

@theSekyi
Created May 17, 2019 09:01
Show Gist options
  • Select an option

  • Save theSekyi/85abc3e3c3d1a9c4dfa31c5fddfd94b2 to your computer and use it in GitHub Desktop.

Select an option

Save theSekyi/85abc3e3c3d1a9c4dfa31c5fddfd94b2 to your computer and use it in GitHub Desktop.
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline
from sklearn.tree import DecisionTreeClassifier
from sklearn.tree import export_graphviz #plot tree
df = pd.read_csv('winequality-red.csv')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment