Learn R Programming

Laurae (version 0.0.0.9001)

prob.max_fallout: Probability Fall-Out (False Positive Rate)

Description

This function allows to use a custom thresholding method to compute the Fall-Out (False Positive Rate).

Usage

prob.max_fallout(preds, labels, thresh = 0.5)

Arguments

preds
Type: numeric. The predictions.
labels
Type: numeric. The labels (0, 1).
thresh
Type: numeric. The cutoff (threshold) probability which is deemed positive when higher or equal, or negative when lower. Defaults to 0.5 (anything higher or equal to 0.5 is positive, anything lower is negative).

Value

The Fall-Out (False Positive Rate) at the provided threshold.