fetch_oos_scores: Retrieve out of sample/fold predictions
Description
Retrieve out of sample/fold predictions
Usage
fetch_oos_scores(model, ...)
Value
A data.frame
with out of sample/fold predictions for each
row of the training data, and containing an additional column with
a primary key.
Arguments
- model
A civis_ml
model.
- ...
Parameters passed to read.csv
.
Details
Returns the out of sample (or out of fold) predictions for each
observation. For a multiclass model, a data frame is returned with one
column of predictions for each class.