library(mlr3learners.np)
test_that("dens.mixed", {
learner = lrn("dens.mixed")
fun = np::npudens
exclude = c(
)
ParamTest = run_paramtest(learner, fun, exclude)
expect_true(ParamTest, info = paste0("\nMissing parameters:\n",
paste0("- '", ParamTest$missing, "'", collapse = "\n")))
})
test_that("dens.mixed_bw", {
learner = lrn("dens.mixed")
fun = np::npudensbw
exclude = c(
)
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.