ACCURACY SCORE. Accuracy score is the ratio to number… | by Deepasalvankards | Medium

ACCURACY SCORE. Accuracy score is the ratio to number… | by Deepasalvankards | Medium

Play all audios:

Loading...

DeepasalvankardsFollow1 min read·Jun 6, 2020 -- Listen Share ACCURACY SCORE Accuracy score is the ratio to number of correct prediction to total input values.accuracy is a matrix for machine learning some times it is a problem because it was does not do well and also it does not give detailed information about the problem. Ex: input : from sklearn.metrics import accuracy_score y_test=[2,0,2,2,0,2] y_pred=[2,2,0,0,2,0] print(accuracy_score(y_test,y_pred)) output: 0.16666666666666666

DeepasalvankardsFollow1 min read·Jun 6, 2020 --


Listen


Share


ACCURACY SCORE


Accuracy score is the ratio to number of correct prediction to total input values.accuracy is a matrix for machine learning some times it is a problem because it was does not do well and


also it does not give detailed information about the problem.


Ex:


input :


from sklearn.metrics import accuracy_score


y_test=[2,0,2,2,0,2]


y_pred=[2,2,0,0,2,0]


print(accuracy_score(y_test,y_pred))


output:


0.16666666666666666