Description Usage Arguments Details Value
Compute the precision (proportion of stations classified as non-perennial that are actually IRES)
from a single ResampleResult extracted from an mlr3
BenchmarkResult
.
This is a utility function.
1 | rsmp_pre(bmres, rsmp_i, threshold_class)
|
bmres |
BenchmarkResult from either a binary classification model or a regression model bounded between 0 and 1. |
rsmp_i |
(integer) index of the resample result to process. |
Precision is computed as the number of true positives (i.e. the number of items correctly labelled as belonging to the positive class) divided by the total number of elements labelled as belonging to the positive class. Wikipedia actually has a nice explanation for it.
(numeric) precision
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.