Skip to content

Commit

Permalink
Merge pull request #119 from mlr-org/catboost_param
Browse files Browse the repository at this point in the history
Update learner_catboost_classif_catboost.R
  • Loading branch information
RaphaelS1 authored Oct 12, 2021
2 parents fb4976d + ca179ba commit acb2fc7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: mlr3extralearners
Title: Extra Learners For mlr3
Version: 0.5.9
Version: 0.5.10
Authors@R:
c(person(given = "Raphael",
family = "Sonabend",
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# mlr3extralearners 0.5.10

* Added params `ignored_features` and `one_hot_max_size` to `classif.catboost`

# mlr3extralearners 0.5.9

* Fixed bug that didn't allow C parameter to be set for nu-regression
Expand Down
4 changes: 2 additions & 2 deletions R/learner_catboost_classif_catboost.R
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ LearnerClassifCatboost = R6Class("LearnerClassifCatboost",
grow_policy = p_fct(levels = c("SymmetricTree", "Depthwise", "Lossguide"), default = "SymmetricTree", tags = "train"),
min_data_in_leaf = p_int(lower = 1L, upper = Inf, default = 1L, tags = "train"),
max_leaves = p_int(lower = 1L, upper = Inf, default = 31L, tags = "train"),
# ignored_features missing
# one_hot_max_size missing
ignored_features = p_uty(default = NULL, tags = "train"),
one_hot_max_size = p_uty(default = FALSE, tags = "train"),
has_time = p_lgl(default = FALSE, tags = "train"),
rsm = p_dbl(lower = 0.001, upper = 1, default = 1, tags = "train"),
nan_mode = p_fct(levels = c("Min", "Max"), default = "Min", tags = "train"), # do not allow "Forbidden"
Expand Down

0 comments on commit acb2fc7

Please sign in to comment.