Learn R Programming

mlr (version 2.17.0)

getNestedTuneResultsOptPathDf: Get the opt.paths from each tuning step from the outer resampling.

Description

After you resampled a tuning wrapper (see makeTuneWrapper) with resample(..., extract = getTuneResult) this helper returns a data.frame with with all opt.paths combined by rbind. An additional column iter indicates to what resampling iteration the row belongs.

Usage

getNestedTuneResultsOptPathDf(r, trafo = FALSE)

Arguments

r

(ResampleResult) The result of resampling of a tuning wrapper.

trafo

(logical(1)) Should the units of the hyperparameter path be converted to the transformed scale? This is only necessary when trafo was used to create the opt.paths. Note that opt.paths are always stored on the untransformed scale. Default is FALSE.

Value

(data.frame). See above.

See Also

Other tune: TuneControl, getNestedTuneResultsX(), getResamplingIndices(), getTuneResult(), makeModelMultiplexerParamSet(), makeModelMultiplexer(), makeTuneControlCMAES(), makeTuneControlDesign(), makeTuneControlGenSA(), makeTuneControlGrid(), makeTuneControlIrace(), makeTuneControlMBO(), makeTuneControlRandom(), makeTuneWrapper(), tuneParams(), tuneThreshold()

Examples

Run this code
# NOT RUN {
# see example of makeTuneWrapper
# }

Run the code above in your browser using DataLab