Closed nipnipj closed 2 years ago
Hello! I'm tryting to run the univariate time series code example:
task <- tsk("airpassengers") learner <- LearnerRegrForecastAverage$new() learner$train(task,row_ids = 1:20) learner$model p <- learner$predict(task,row_ids = 21:55) p$score(msr("forecast.mae")) autoplot(task)
When I run the code line p <- learner$predict(task,row_ids = 21:55), I get the following error message:
p <- learner$predict(task,row_ids = 21:55)
Error in UseMethod("check_prediction_data") : no applicable method for 'check_prediction_data' applied to an object of class "list"
@larskotthoff @berndbischl @mllg @jakob-r @johannes9522
Sorry for the unresponsiveness. It should work now
Hello! I'm tryting to run the univariate time series code example:
When I run the code line
p <- learner$predict(task,row_ids = 21:55)
, I get the following error message: