FP {D2MCS} | R Documentation |
Computes the False Positive value.
Description
This is the number of individuals with a negative condition for which the test result is positive. The value entered here must be non-negative.
Super class
D2MCS::MeasureFunction
-> FP
Methods
Public methods
Method new()
Method for initializing the object arguments during runtime.
Usage
FP$new(performance.output = NULL)
Arguments
performance.output
An optional
ConfMatrix
parameter used as basis to define the type of compute theFP
measure.
Method compute()
The function computes the FP achieved by the M.L. model.
Usage
FP$compute(performance.output = NULL)
Arguments
performance.output
An optional
ConfMatrix
parameter to define the type of object used as basis to compute theFP
measure.
Details
This function is automatically invoked by the
ClassificationOutput
object.
Returns
A numeric vector of size 1 or NULL if an error occurred.
Method clone()
The objects of this class are cloneable with this method.
Usage
FP$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
See Also
MeasureFunction
, ClassificationOutput
,
ConfMatrix