text_html_output_1.png
from sklearn import tree

import pandas as pd

DATA_DIR = '/kaggle/input/mds-misis-test/'
train = pd.read_csv(DATA_DIR + 'train.csv')

X = train.drop(['Outcome'], axis=1)
y = train.Outcome

clf = tree.DecisionTreeClassifier(criterion='entropy', max_depth=6)

clf.fit(X, y)

test = pd.read_csv(DATA_DIR + 'test.csv')

submission = clf.predict(test)

submission