Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to get the percentage accuracy of a model in python

from sklearn.metrics import confusion_matrix
confusion_matrix(labels_train, pred)
Source by discuss.analyticsvidhya.com #
 
PREVIOUS NEXT
Tagged: #percentage #accuracy #model #python
ADD COMMENT
Topic
Name
3+6 =