You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error in assert_learner(fallback, task_type = self$task_type) :
Assertion on 'fallback' failed: Must inherit from class 'Learner', but has class 'NULL'.
I saw #1110 and tried downgrading my versions (to 0.90 of extralearners and 21.1 of mlr3, as the 0.90 of extra learners said it needed at least 21.1) but no success.
Is this a bug with a known fix?
If it helps, I'm using R 4.4.1 on Mac running 15.2
The text was updated successfully, but these errors were encountered:
Well, leaving out the encapsulation parameter will use the default which is NA which means that one error due to only one failed model will stop the entire resampling. Hence, this is not desirable instead we would like to have a fallback learner in these cases.
In any case, this seems to be a mlr3 bug. Therefore, I have opened a corresponding issue, see mlr-org/mlr3#1249
I'm running the hyperparameter code:
progressr::with_progress(expr = {
rr_spcv_svm = mlr3::resample(task = task,
learner = at_ksvm,
# outer resampling (performance level)
resampling = perf_level,
store_models = FALSE,
encapsulate = "evaluate")
})
and I get
Error in assert_learner(fallback, task_type = self$task_type) :
Assertion on 'fallback' failed: Must inherit from class 'Learner', but has class 'NULL'.
I saw #1110 and tried downgrading my versions (to 0.90 of extralearners and 21.1 of mlr3, as the 0.90 of extra learners said it needed at least 21.1) but no success.
Is this a bug with a known fix?
If it helps, I'm using R 4.4.1 on Mac running 15.2
The text was updated successfully, but these errors were encountered: