View source: R/BenchmarkResult.R
uhashes | R Documentation |
In a BenchmarkResult
, each ResampleResult is uniquely identified by a hash (uhash).
Operations that select specific ResampleResults from a BenchmarkResult operate using
these hashes.
This function allows to obtain uhashes for specific learners, tasks, and resamplings.
If you want more control, you can also directly obtain the uhash table from the BenchmarkResult
via the field $uhash_table
.
uhashes(bmr, learner_ids = NULL, task_ids = NULL, resampling_ids = NULL)
uhash(bmr, learner_id = NULL, task_id = NULL, resampling_id = NULL)
bmr |
( |
learner_ids |
( |
task_ids |
( |
resampling_ids |
( |
learner_id |
( |
task_id |
( |
resampling_id |
( |
design = benchmark_grid(
tsks(c("sonar", "iris")),
lrns(c("classif.debug", "classif.featureless", "classif.rpart")),
rsmp("holdout")
)
bmr = benchmark(design)
bmr
bmr$uhashes
uhash(bmr, learner_id = "classif.debug", task_id = "sonar", resampling_id = "holdout")
uhashes(bmr, learner_ids = c("classif.debug", "classif.featureless"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.