rsmp_bacc: Resample BACC

Description Usage Arguments Details Value Source

Description

Compute the Balanced class ACCuracy (Brodersen, Ong, Stephan, & Buhmann, 2010) from a single ResampleResult extracted from an mlr3 BenchmarkResult.
This is a utility function.

Usage

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

See the mlr3 reference website for a definition of the BACC.

Value

(numeric) bacc

Source

Brodersen, K. H., Ong, C. S., Stephan, K. E., & Buhmann, J. M. (2010). The balanced accuracy and its posterior distribution. Proceedings - International Conference on Pattern Recognition, 3121–3124. https://doi.org/10.1109/ICPR.2010.764


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