Confidence Intervals based on ResamplingNestedCV, including bias-correction.
This inference method can only be applied to decomposable losses.
Parameters
Those from MeasureAbstractCi, as well as:
bias::logical(1)
Whether to do bias correction. This is initialized toTRUE. IfFALSE, the outer iterations are used for the point estimate and no bias correction is applied.
References
Bates, Stephen, Hastie, Trevor, Tibshirani, Robert (2024). “Cross-validation: what does it estimate and how well does it do it?” Journal of the American Statistical Association, 119(546), 1434–1445.
Super classes
mlr3::Measure -> mlr3inferr::MeasureAbstractCi -> MeasureCiNestedCV
Methods
Method new()
Creates a new instance of this R6 class.
Usage
MeasureCiNestedCV$new(measure)Arguments
measure(
Measureorcharacter(1))
A measure of ID of a measure.
Examples
ci_ncv = msr("ci.ncv", "classif.acc")
ci_ncv
#> <MeasureCiNestedCV:classif.acc>: Nested CV CI
#> * Packages: mlr3, mlr3measures, mlr3inferr
#> * Range: [0, 1]
#> * Minimize: FALSE
#> * Average: custom
#> * Parameters: bias=TRUE, alpha=0.05, within_range=TRUE
#> * Properties: primary_iters
#> * Predict type: response