Learn R Programming

ezplot (version 0.7.13)

prec_rec: 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

Run this code
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