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