Skip to content

Commit

Permalink
Merge pull request #116 from mlr-org/fix-regr.ksvm
Browse files Browse the repository at this point in the history
add nu_svr to C parameter
  • Loading branch information
RaphaelS1 authored Oct 5, 2021
2 parents dfe3244 + b9ee305 commit fb4976d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 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.8
Version: 0.5.9
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.9

* Fixed bug that didn't allow C parameter to be set for nu-regression

# mlr3extralearners 0.5.8

* Add `regr.rvm` and `classif.lssvm`
Expand Down
2 changes: 1 addition & 1 deletion R/learner_kernlab_regr_ksvm.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ LearnerRegrKSVM = R6Class("LearnerRegrKSVM",
offset = p_dbl(default = NO_DEF, tags = "train")
)

ps$add_dep("C", "type", CondAnyOf$new(c("eps-svr", "eps-bsvr")))
ps$add_dep("C", "type", CondAnyOf$new(c("eps-svr", "eps-bsvr", "nu-svr")))
ps$add_dep("nu", "type", CondAnyOf$new(c("nu-svr")))
ps$add_dep(
"epsilon", "type",
Expand Down

0 comments on commit fb4976d

Please sign in to comment.