Precision is the fraction of relevant instances among the retrieved instances
D2MCS::MeasureFunction
-> Precision
new()
Method for initializing the object arguments during runtime.
Precision$new(performance.output = NULL)
performance.output
An optional ConfMatrix
parameter
to define the type of object used as basis to compute the measure.
compute()
The function computes the Precision achieved by the M.L. model.
Precision$compute(performance.output = NULL)
performance.output
An optional ConfMatrix
parameter
to define the type of object used as basis to compute the
Precision measure.
This function is automatically invoke by the ClassificationOutput object.
clone()
The objects of this class are cloneable with this method.
Precision$clone(deep = FALSE)
deep
Whether to make a deep clone.
$$precision = TP / (TP + FP)$$
MeasureFunction
, ClassificationOutput
,
ConfMatrix