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
library(mlr3spatiotemporal)
library(mlr3)
task<- tsk("ecuador")
# Instantiate Resamplingrcv<- rsmp("spcv-block")
rcv$param_set$values<-list(folds=20)
rcv$instantiate(task)
#> Error in blockCV::spatialBlock(speciesData = points, theRange = self$param_set$values$range, : 'k' is bigger than the number of the blocks
range or cols and rows are not set. Therefore, ResamplingSpCVBlock uses the default value of cols and rows, which is 4. You want to assign 20 folds to 16 blocks, which does not work.
Created on 2019-09-03 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: