Could get_rsplit()
add a method for resample_results
from tune::fit_resamples()
?
#687
Labels
feature
a feature request or enhancement
The problem
In answering tidymodels/hardhat#240 , I was tempted to use the
rsample::get_rsplit()
helper function on the output fromtune::fit_resamples()
to avoid needing to use the$splits[[1]]
syntax, which I think can be a bit confusing to folks not used to thinking about rset objects. However, the outputs fromfit_resamples()
are of classes'resample_results', 'tune_results', 'tbl_df', 'tbl', 'data.frame'
, andget_rsplit()
only handles objects of classrset()
. Couldget_rsplit()
add a method forresample_results
(or, alternatively, could the output fromfit_resamples()
also be anrset()
object)?Reproducible example
Created on 2023-05-22 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: