context("classif.gbm")
test_that("autotest", {
learner = LearnerClassifGBM$new()
learner$param_set$values = mlr3misc::insert_named(
learner$param_set$values,
list(n.minobsinnode = 1))
expect_learner(learner)
result = run_autotest(learner, exclude = "feat_single_multiclass || weights_binary")
expect_true(result, info = result$error)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.