sklearn.accuracy_score(y_test, y_predict) vs np.mean(y_predict == y_test)
-
02-11-2019 - |
Question
What is the difference between these two methods for finding model accuracy?
I have used both methods in python3 and i normally get identical results. However in few cases i get completely different results, so I am trying to figure out the possible reason for this.
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with datascience.stackexchange