Closed christophM closed 3 years ago
This was a bug in mlr3 0.6.0 but you are already using 0.7.0. I cannot reproduce this. Can anybody else reproduce this with mlr3 0.7.0?
Hi Chris, I installed all cran versions (mlr3, mlr3tuning, paradox, ml3misc), and for me this runs.
What the error seems to say is that your "classif.ce" metric eval became an NA.
Analysis: 1) This really shouldn't happen on your simple example. But currently I cannot reproduce
2) There are ways to "robustify" against this, if this really happens in practice, but here it shouldnt
3) Maybe we should still make the error message better?
@be-marc whats the error-handling approach if this really happens in practice? (Chris, that's a different problem and not really your issue here....)
do we have a test for this?
@christophM also note you should really post a seed, as this bug could happen randomly
@berndbischl We use a fallback learner
@berndbischl We use a fallback learner
ok, sure, that i know. maybe my question was formulated a bit badly. I was just wondering if we can "fail more gracefully" if that happens. We could use at least a better err-msg here? I am also not sure if we should continue and let the user at least access his Archive? I know we discussed this, there's pros and cons....
I got the same issue with a regression task and mse/mae. And consistently for repeated runs, so not at random. I will reinstall mlr3 and the other packages and see if I can get it working.
I got the same issue with a regression task and mse/mae. And consistently for repeated runs, so not at random
well, just a general hint, as your code is not "reproducible" in general without a seed.
I will include a seed next time, had not thought about the randomness of the tuning process.
After re-installing c("mlr3", "mlr3misc", "mlr3tuning", "paradox") it now works. I actually did the same installs yesterday with the exception of mlr3misc, so maybe that was the problem.
I can't get the rather basic example to run from the mlr3book for tuning: https://mlr3book.mlr-org.com/tuning.html
This output and error appears:
This is a reproducible example (basically copy-pasted from the book.
My sessionInfo():