library(mlr3learners.extratrees)
test_that("regr.extratrees", {
learner = lrn("regr.extratrees")
fun = extraTrees::extraTrees
exclude = c(
"x" # handled by mlr3
)
ParamTest = run_paramtest(learner, fun, exclude)
expect_true(ParamTest, info = paste0(
"
Missing parameters:
",
paste0("- '", ParamTest$missing, "'", collapse = "
")))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.