| Sensitivity {D2MCS} | R Documentation |
Computes the Sensitivity Value.
Description
Sensitivity is a measure of the proportion of actual positive cases that got predicted as positive (or true positive).
Details
Sensitivity = TP / (TP + FN)
Super class
D2MCS::MeasureFunction -> Sensitivity
Methods
Public methods
Method new()
Method for initializing the object arguments during runtime.
Usage
Sensitivity$new(performance.output = NULL)
Arguments
performance.outputAn optional
ConfMatrixparameter to define the type of object used as basis to compute theSensitivitymeasure.
Method compute()
The function computes the Sensitivity achieved by the M.L. model.
Usage
Sensitivity$compute(performance.output = NULL)
Arguments
performance.outputAn optional
ConfMatrixparameter to define the type of object used as basis to compute the Sensitivity measure.
Details
This function is automatically invoke 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
Sensitivity$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
See Also
MeasureFunction, ClassificationOutput,
ConfMatrix