Package index
Nested resampling
Build a nested resampling design whose size does not grow by a copy of the data for every outer fold.
-
nested_resamples() - Build a nested resampling design without copying the data per outer fold
Running the loop
Tune on each outer fold’s inner resamples, select, then fit and score on the outer split — and keep what each fold chose.
-
nested_tune_grid() - Run the nested cross-validation loop
-
collect_metrics(<nested_results>) - Collect the metrics from a nested resampling run
-
print(<nested_results>) - Print a nested cross-validation result
-
autoplot(<nested_results>) - Plot a nested cross-validation result
The final model
Run the same tuning procedure once more with the whole dataset in hand, and get back the model to deploy — as its own object, never a field on the results.
-
nested_final_fit() - Fit the final model after nested cross-validation
-
print(<nested_final_fit>) - Print a final fit
-
extract_tune_results() - Extract the tuning run a final fit was selected from
-
extract_scored_candidates() - Extract the candidates a final fit actually scored
-
reexportscollect_metricsextract_workflowautoplot - Objects exported from other packages