rsmp_sen: Resample sensitivity

Description Usage Arguments Details Value

Description

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

Usage

1
rsmp_sen(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

Sensitivity is also sometimes called recall. It measures the proportion o of positives that are correctly identified. Wikipedia actually has a nice explanation for it.

Value

(numeric) sensitivity


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