tests/testthat/test_classif_gamboost.R

context("classif.gamboost")

test_that("autotest", {
  learner = LearnerClassifGAMBoost$new()
  learner$param_set$values = list(baselearner = "btree", family = "Binomial")
  expect_learner(learner)
  result = run_autotest(learner)
  expect_true(result, info = result$error)
})
mlr3learners/mlr3learners.mboost documentation built on Aug. 9, 2020, 10:47 p.m.