context("regr.dbarts")
test_that("autotest", {
learner = LearnerRegrDbarts$new()
learner$param_set$values = c(
learner$param_set$values,
ntree = 5L)
expect_learner(learner)
result = run_autotest(learner)
expect_true(result, info = result$error)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.