A cpm_resamples object is returned by fit_resamples() and stores
fold-level outputs from resampling.
Structure
A cpm_resamples object is a list with the following elements:
specThe originating
cpm_specobject.foldsList of assessment-row indices for each fold.
metricsData frame of fold-level performance metrics.
predictionsData frame of observation-level predictions with fold IDs.
edgesStored edge output based on
return_edges(NULL/matrix/array).paramsParameter list used for the resampling run.