context("BenchmarkResult")
test_that("BenchmarkResult is valid", {
tasks = list(test.tasks$get("clm.num"))
learners = list(mlr.learners$get("classif.dummy"))
resamplings = list(mlr.resamplings$get("cv"))
resamplings[[1]]$iters = 3L
measures = list(mlr.measures$get("mmce"))
bmr = benchmark(tasks, learners, resamplings, measures)
expect_benchmarkresult(bmr)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.