Hello Last line have an error the correct code should be:

#Get the classification report to see how well the model performed.from sklearn.metrics import classification_reportprint(classification_report(Y_test,tree_predictions))

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Jorge Zermeño G
Jorge Zermeño G

Written by Jorge Zermeño G

Entrepreneur, investor and passionate for programing

No responses yet

Write a response