prec_rec: prec_rec

View source: R/pr_plot.R

prec_recR 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))

ezplot documentation built on Aug. 12, 2022, 1:07 a.m.