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
Or do we actually ever need to refer to rows that were $filter()-ed out before? The code anticipates this problem in some places, but the following error can only be triggered if the entire data was actually replaced using cbind:
rs<- rsmp("holdout")
ts<- tsk("iris")
rs$instantiate(ts)
ts$filter(c(1, 51, 101))
ts$cbind(iris[1:3, 1:4])
resample(ts, lrn("classif.rpart"), rs)
#> INFO [17:05:26.512] [mlr3] Applying learner 'classif.rpart' on task 'iris' (iter 1/1)#> Error: DataBackend did not return the queried rows correctly: 50 requested, 1 received.#> The resampling was probably instantiated on a different task.
The text was updated successfully, but these errors were encountered:
The following should not work, since the resampling instance references rows that are not contained in the task any more:
Or do we actually ever need to refer to rows that were
$filter()
-ed out before? The code anticipates this problem in some places, but the following error can only be triggered if the entire data was actually replaced using cbind:The text was updated successfully, but these errors were encountered: