powered by
Precision recall calculation
prec_rec(fitted, actual)
Vector with values between 0 and 1
Vector with two levels
ezplot:::prec_rec(runif(1), sample(c(TRUE, FALSE), 1, replace = TRUE)) ezplot:::prec_rec(runif(5), sample(c(TRUE, FALSE), 5, replace = TRUE))
Run the code above in your browser using DataLab