accuracy

fun accuracy(truth: IntArray, prediction: IntArray): Double(source)

The accuracy is the proportion of true results (both true positives and true negatives) in the population.