What does accuracy_score measure for a classifier?
-
A
Mean squared difference from truth
-
B
Share of predictions that are correct
Correct answer
-
C
Average of the predicted probabilities
-
D
Area under the ROC curve
Correct answer
B. Share of predictions that are correct
15 views
Explanation
accuracy_score divides the count of correct predictions by the number of samples scored.
Reference
Asked in: NTS, PPSC IT, Interviews
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ