FittedCV is a fitted, cross-validated predictive model object that is
returned by CV$fit() and contains relevant model components,
cross-validation metrics, validation set predicted values, etc.
foldsA list of length $nfolds where each element contains the
indices of the observations contained in that fold.
modelPredictive model fitted on the full data set.
mean_metricsNumeric list; Cross-validation performance metrics averaged across folds.
metricsNumeric list; Cross-validation performance metrics on each fold.
nfoldsAn integer specifying the number of cross-validation folds.
predictionsA list containing the predicted hold-out values on every fold.
new()Create a new FittedCV object.
FittedCV$new(folds, model, metrics, nfolds, predictions)foldsA list of length $nfolds where each element contains the
indices of the observations contained in that fold.
modelPredictive model fitted on the full data set.
metricsNumeric list; Cross-validation performance metrics on each fold.
nfoldsAn integer specifying the number of cross-validation folds.
predictionsA list containing the predicted hold-out values on every fold.
An object of class FittedCV.
clone()The objects of this class are cloneable with this method.
FittedCV$clone(deep = FALSE)deepWhether to make a deep clone.