get_prediction_counts {dce}R Documentation

Compute true positive/... counts

Description

Useful for performance evaluations

Usage

get_prediction_counts(truth, inferred, cutoff = 0.5)

Arguments

truth

Ground truth

inferred

Computed results

cutoff

Threshold for classification

Value

data.frame

Author(s)

Hans Wurst

Examples

get_prediction_counts(c(1,0), c(1,1))

[Package dce version 1.1.0 Index]