tests/testthat/test_randomForest_regr_randomForest.R

test_that("autotest", {
  learner = LearnerRegrRandomForest$new()
  learner$param_set$values = list("importance" = "mse")
  expect_learner(learner)
  result = run_autotest(learner, exclude = "utf8_feature_names")
  expect_true(result, info = result$error)
})
mlr-org/mlr3extralearners documentation built on May 23, 2024, 2:09 p.m.