text_html_output_1.png
from sklearn.metrics import accuracy_score

from sklearn.metrics import accuracy_score

from sklearn.metrics import accuracy_score

from sklearn.tree import DecisionTreeClassifier

from sklearn.tree import DecisionTreeClassifier
model_DTC = DecisionTreeClassifier()
model_DTC.fit(X_train, y_train)

predictionDTC = model_DTC.predict(X_test)
from sklearn.metrics import accuracy_score
print(accuracy_score(y_test, predictionDTC) * 100)