get.max_precision: Maximum Precision (Positive Predictive Value)

Description Usage Arguments Value

Description

This function allows to use a custom thresholding method to maximize the Precision (Positive Predictive Value). A pair of values is returned.

Usage

1

Arguments

preds

Type: numeric. The predictions.

labels

Type: numeric. The labels (0, 1).

Value

A two element vector containing the maximum Precision (Positive Predictive Value) for binary data, and the threshold used.


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