Hi! I used auto_tuner() to perform nested resampling on my models trained based on time-to-event data, which gives me an error message as below.
Error in UseMethod("as_resampling") :
no applicable method for 'as_resampling' applied to an object of class "c('LearnerSurvCVGlmnet', 'LearnerSurv', 'Learner', 'R6')".
Hi! I used auto_tuner() to perform nested resampling on my models trained based on time-to-event data, which gives me an error message as below.
Error in UseMethod("as_resampling") : no applicable method for 'as_resampling' applied to an object of class "c('LearnerSurvCVGlmnet', 'LearnerSurv', 'Learner', 'R6')".
My code looks like something like this: