inst/paramtest/test_paramtest_dens.mixed.R

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")))
})
mlr3learners/mlr3learners.np documentation built on July 29, 2020, 3:17 a.m.