TP is the number of individuals with a positive condition for which the test result is positive. The value entered here must be non-negative.
D2MCS::MeasureFunction
-> TP
new()
Method for initializing the object arguments during runtime.
TP$new(performance.output = NULL)
performance.output
An optional ConfMatrix
parameter
to define the type of object used to compute the measure.
compute()
The function computes the TP achieved by the M.L. model.
TP$compute(performance.output = NULL)
performance.output
An optional ConfMatrix
parameter
to define the type of object used as basis to compute the TP
measure.
This function is automatically invoke by the
ClassificationOutput
object.
clone()
The objects of this class are cloneable with this method.
TP$clone(deep = FALSE)
deep
Whether to make a deep clone.
MeasureFunction
, ClassificationOutput
,
ConfMatrix