Skip to content

Commit

Permalink
refactor: remove quantreg parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Aug 18, 2024
1 parent c6ae439 commit 85db887
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion R/LearnerRegrRanger.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ LearnerRegrRanger = R6Class("LearnerRegrRanger",
num.threads = p_int(1L, default = 1L, tags = c("train", "predict", "threads")),
num.trees = p_int(1L, default = 500L, tags = c("train", "predict", "hotstart")),
oob.error = p_lgl(default = TRUE, tags = "train"),
# quantreg = p_lgl(default = FALSE, tags = "train"),
regularization.factor = p_uty(default = 1, tags = "train"),
regularization.usedepth = p_lgl(default = FALSE, tags = "train"),
replace = p_lgl(default = TRUE, tags = "train"),
Expand Down
3 changes: 2 additions & 1 deletion inst/paramtest/test_paramtest_regr.ranger.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ test_that("regr.ranger", {
"status.variable.name", # handled via mlr3
"classification", # handled via mlr3
"mtry.ratio", # custom hyperpar
"time.interest" # survival only
"time.interest", # survival only
"quantreg" # handled by predict_type
)

ParamTest = run_paramtest(learner, fun, exclude, tag = "train")
Expand Down

0 comments on commit 85db887

Please sign in to comment.