tests/testthat/test_paramtest_np_dens_mixed.R

test_that("paramtest dens.mixed train", {
  learner = lrn("dens.mixed")
  fun_list = list(np::npudens, np:::npudensbw.default) # nolint

  exclude = c(
    "dat", # handled by mlr3
    "scale.init.categorical.sample" # not implemented by the author
  )
  paramtest = run_paramtest(learner, fun_list, exclude, tag = "train")
  expect_paramtest(paramtest)
})

# No predict time parameters
mlr-org/mlr3extralearners documentation built on Nov. 11, 2024, 11:11 a.m.