Understand decision tree in jupiter notebook

machine_learning
python

#1

Hi
when we execute the belowcode I am not able to interpret the decision tree and idont see a tree in visual terms. can you please explain how do I proceed to interpret the results and look at the tree visually in notebook.

model = DecisionTreeClassifier()
predictor_var = [‘Credit_History’,‘Gender’,‘Married’,‘Education’]
classification_model(model, df,predictor_var,outcome_var)

insights much appreciated.
Regards,
Tony


#2

Hi @tillutony, Please refer this thread


#3