Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

accuracy score

from sklearn.metrics import accuracy_score
y_pred = [0, 2, 1, 3]
y_true = [0, 1, 2, 3]
accuracy_score(y_true, y_pred)

accuracy_score(y_true, y_pred, normalize=False)
#tamilarasan nallairusun
 
PREVIOUS NEXT
Tagged: #accuracy #score
ADD COMMENT
Topic
Name
7+9 =