test_that("autotest", {
set.seed(10)
learner <- lrn("surv.dnn", cuts = 5)
expect_learner(learner)
result <- run_autotest(learner, check_replicable = FALSE)
expect_true(result, info = result$error)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.