train_preds {nestedcv} | R Documentation |
Outer training fold predictions
Description
Obtain predictions on outer training folds which can be used for performance metrics and ROC curves.
Usage
train_preds(x)
Arguments
x |
a |
Details
Note: the argument outer_train_predict
must be set to TRUE
in
the original call to either nestcv.glmnet
, nestcv.train
or outercv
.
Value
Dataframe with columns ytrain
and predy
containing observed and
predicted values from training folds. For binomial and multinomial models
additional columns are added with class probabilities or log likelihood
values.
[Package nestedcv version 0.7.9 Index]