opt.thresh: Optimal Threshold

Description Usage Arguments Value

View source: R/Utils.R

Description

Compute the optimal classifcation threshold based on the optimal.thresholds function in the Presence.Absence package

Usage

1
opt.thresh(prob, obs, opt.methods = 9)

Arguments

prob

predicted probabilities

obs

binary (0-1) ground truth

opt.methods

optimal threshold method. See Presence.Absence package

Value

optimal threshold


nguforche/MLSurvival documentation built on July 28, 2019, 1:59 p.m.