prob.max_precision: Probability Precision (Positive Predictive Value)

Description Usage Arguments Value

Description

This function allows to use a custom thresholding method to compute the Precision (Positive Predictive Value).

Usage

1
prob.max_precision(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 Precision (Positive Predictive Value) at the provided threshold.


Laurae2/Laurae documentation built on May 8, 2019, 7:59 p.m.