prec_rec {ezplot}R Documentation

prec_rec

Description

Precision recall calculation

Usage

prec_rec(fitted, actual)

Arguments

fitted

Vector with values between 0 and 1

actual

Vector with two levels

Examples

ezplot:::prec_rec(runif(1), sample(c(TRUE, FALSE), 1, replace = TRUE))
ezplot:::prec_rec(runif(5), sample(c(TRUE, FALSE), 5, replace = TRUE))

[Package ezplot version 0.7.13 Index]