fetch_oos_scores {civis}R Documentation

Retrieve out of sample/fold predictions

Description

Retrieve out of sample/fold predictions

Usage

fetch_oos_scores(model, ...)

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.

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.

See Also

civis_ml


[Package civis version 3.0.0 Index]