Learn R Programming

DET (version 3.0.0)

minDcf: Minimum of the Detection Cost Function computation

Description

From a 'DET' object, the function computes the minimum value of the Detection Cost Function (minDCF).

Usage

minDcf(det, p = 0.01, cFp = 1, cFn = 10)

Arguments

det

An object of class "DET".

p

A single numeric value into the (0, 1) intervalrepresenting the prior probability of positive class.

cFp

A single numeric value representing the cost of False Positives.

cFn

A single numeric value representing the cost of False Negatives.

Value

A 'data.frame' with two attributes:

- 'minDcfValue': the computed minDCF.

- 'minDcfIndex': the index of the fpr and fnr in which the minimum is reached.