rsmp_spe: Resample specificity

Description Usage Arguments Details Value

Description

Compute the specificity (proportion of correctly classified perennial stations) from a single ResampleResult extracted from an mlr3 BenchmarkResult.
This is a utility function.

Usage

1
rsmp_spe(bmres, rsmp_i, threshold_class)

Arguments

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.

Details

Specificity measures the proportion of negatives that are correctly identified. Wikipedia actually has a nice explanation for it.

Value

(numeric) specificity


messamat/globalIRmap documentation built on July 4, 2021, 10:48 a.m.