Skip to contents

Interpret SwitchBox Scores as Binary Classifications

Usage

int_interpret_score(scores, threshold = 0.5, labels = NULL)

Arguments

scores

Numeric vector of scores (0-1)

threshold

Cutoff for binary classification (default 0.5)

labels

Character vector of length 2: c("low_class", "high_class")

Value

Character vector of classifications

Details

Internal function called by int_calc_signatures(). Not meant for out of package use. Converts continuous prediction scores (0-1) to categorical grade labels using a threshold cutoff.

Examples

if (FALSE) { # \dontrun{
# No examples provided
} # }