Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201941

Tidyverse - rsample. nested_cv + group_vfold_cv = error. Nested cross-validation on caret (trainControl)

$
0
0

I am running on the following error:

library(tidymodels)
nested_cv(data = iris, outside = group_vfold_cv( data = iris, group = Species, v = 2), inside = bootstraps(times = 5)) %>% rsample2caret()

Error: labels not implemented for nested resampling

I am unsure it is on development or if there is a correct way (or a different way) to input on caret/trainControl .


Viewing all articles
Browse latest Browse all 201941

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>