Skip to content

Commit

Permalink
compatibility: mlr3 0.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Nov 8, 2024
1 parent e439f3a commit 83ef169
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# mlr3learners (development version)

compatibility: mlr3 0.22.0.

# mlr3learners 0.8.0

* fix: Hyperparameter set of `lrn("classif.ranger")` and `lrn("regr.ranger")`.
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test_regr_lm.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ test_that("autotest", {
})

test_that("contrasts", {
task = tsk("boston_housing")
task = tsk("mtcars")
learner = mlr3::lrn("regr.lm")

learner$train(task)
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test_regr_ranger.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ test_that("autotest", {
})

test_that("hotstart", {
task = tsk("boston_housing")
task = tsk("mtcars")

learner_1 = lrn("regr.ranger", num.trees = 1000L)
learner_1$train(task)
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test_regr_xgboost.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test_that("autotest", {
})

test_that("hotstart", {
task = tsk("boston_housing")
task = tsk("mtcars")
task$select(task$feature_names[task$feature_names %nin% c("chas", "town")])

learner_1 = lrn("regr.xgboost", nrounds = 5L)
Expand Down

0 comments on commit 83ef169

Please sign in to comment.