Learn R Programming

mlr (version 2.10)

getBMRTuneResults: Extract the tuning results from a benchmark result.

Description

Returns a nested list of TuneResults. The first level of nesting is by data set, the second by learner, the third for the benchmark resampling iterations. If as.df is TRUE, a data frame with the “task.id”, “learner.id”, the resample iteration, the parameter values and the performances is returned.

Usage

getBMRTuneResults(bmr, task.ids = NULL, learner.ids = NULL, as.df = FALSE)

Arguments

bmr
[BenchmarkResult] Benchmark result.
task.ids
[character(1)] Restrict result to certain tasks. Default is all.
learner.ids
[character(1)] Restrict result to certain learners. Default is all.
as.df
[character(1)] Return one data.frame as result - or a list of lists of objects?. Default is FALSE.

Value

[list | data.frame]. See above.

See Also

Other benchmark: BenchmarkResult, benchmark, convertBMRToRankMatrix, friedmanPostHocTestBMR, friedmanTestBMR, generateCritDifferencesData, getBMRAggrPerformances, getBMRFeatSelResults, getBMRFilteredFeatures, getBMRLearnerIds, getBMRLearnerShortNames, getBMRLearners, getBMRMeasureIds, getBMRMeasures, getBMRModels, getBMRPerformances, getBMRPredictions, getBMRTaskDescriptions, getBMRTaskIds, plotBMRBoxplots, plotBMRRanksAsBarChart, plotBMRSummary, plotCritDifferences