Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created Feb 7, 2021
Embed
What would you like to do?
y_pred_mnb = mnb.fit(iris.data, iris.target).predict(iris.data)
cnf_matrix_mnb = confusion_matrix(iris.target, y_pred_mnb)
print(cnf_matrix_mnb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment