mtr_optimal_cutoff: Classification Optimal Cutoff

Description Usage Arguments Value Author(s)

View source: R/optimal-cutoff.r

Description

Optimal cutoff

Usage

1
2
mtr_optimal_cutoff(actual, predicted, objective = c("positive_class",
  "negative_class", "both", "missclassified_error"))

Arguments

actual

[numeric] Ground truth binary numeric vector containing 1 for the positive class and 0 for the negative class.

predicted

[numeric] A vector of estimated probabilities.

objective

[character]

Value

A scalar numeric output

Author(s)

An Chu


chuvanan/metrics documentation built on Nov. 4, 2019, 8:52 a.m.