probably (version 0.0.1)

reportable_rate: Calculate the reportable rate

Description

The reportable rate is defined as the percentage of class predictions that are not equivocal.

Usage

reportable_rate(x)

Arguments

x

A class_pred object.

Details

The reportable rate is calculated as (n_not_equivocal / n).

Examples

Run this code
# NOT RUN {
x <- class_pred(factor(1:5), which = c(1, 2))

# 3 / 5
reportable_rate(x)

# }

Run the code above in your browser using DataCamp Workspace