Description Usage Arguments See Also Examples
precision
computes proportion of observations predicted to be in the
positive class (i.e. the element in predicted
equals 1)
that actually belong to the positive class (i.e. the element
in actual
equals 1)
1 | precision(actual, predicted)
|
actual |
The ground truth binary numeric vector containing 1 for the positive class and 0 for the negative class. |
predicted |
The predicted binary numeric vector containing 1 for the positive
class and 0 for the negative class. Each element represents the
prediction for the corresponding element in |
1 2 3 |
[1] 0.5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.