rsample 0.1.0
-
Fixed how
mc_cv()
,initial_split()
, andvalidation_split()
use theprop
argument to first compute the assessment indices, rather than the analysis indices. This is a minor but breaking change in some situations; the previous implementation could cause an inconsistency in the sizes of the generated analysis and assessment sets when compared to howprop
is documented to function (#217, @issactoast). -
Fixed problem with creation of
apparent()
(#223) andcaret2rsample()
(#232) resamples. -
Re-licensed package from GPL-2 to MIT. See consent from copyright holders here.
-
Attempts to stratify on a
Surv
object now error more informatively (#230). -
Exposed
pool
argument frommake_strata()
in user-facing resampling functions (#229). -
Deprecated the
gather()
method forrset
objects in favor oftidyr::pivot_longer()
(#233). -
Fixed bug in
make_strata()
for numeric variables withNA
values (@brian-j-smith, #236).