library(mlr3learners.liblinear)
test_that("classif.liblinearl1logreg", {
learner = lrn("classif.liblinearl1logreg")
fun = LiblineaR::LiblineaR
exclude = c(
"data", # handled by mlr3
"target", # handled by mlr3
"type", # determined by the chosen learner
"svr_eps" # only for regression
)
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.