Compute the accuracy classification score.
Predicted labels vector, as returned by a classifier
Ground truth (correct) 0-1 labels vector
1 2 3 4 5
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.