Hello everyone
I m using the parameters optimization of svm in mlr3. I am setting the
parameters of 'C' and 'type'.
search_space = paradox::ParamSet$new(
params = list(paradox::ParamInt$new("C", lower = 1, upper = 7),
paradox::ParamFct$new(id = "type", default = "eps-svr",
levels = c("eps-svr", "nu-svr", "eps-bsvr"), tags = "train")))
When I run, it gives me the error as follows:
Error in self$assert(xs) :
Assertion on 'xs' failed: The parameter 'C' can only be set if the
following condition is met 'type <U+2208> {eps-svr, eps-bsvr}'. Instead the
current parameter value is: type=nu-svr.
I do not know why this error comes? Any idea about it?
Warm regards
[[alternative HTML version deleted]]
______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-helpPLEASE do read the posting guide
http://www.R-project.org/posting-guide.htmland provide commented, minimal, self-contained, reproducible code.