GET_optROCcutoff: Compute optimal cutoff for classification

Description Usage Arguments

View source: R/fdaAuxFunctions.R

Description

Compute the optimal probability cutoff for classification.

Usage

1
GET_optROCcutoff(pred, perf, costs = NULL)

Arguments

pred

An object of class prediction generated with prediction.

perf

An object of class performance generated with performance.

costs

A named list with elements cost_fp and cost_fn giving the weights associated with false positives and false negatives, respectively.


pmesperanca/mlevcm documentation built on March 17, 2021, 10:03 p.m.