library(mlr3learners.c50)
test_that("classif.C5.0", {
learner = lrn("classif.C5.0")
fun = C50::C5.0
exclude = c(
"x" # handled via 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.