fetch_oos_scores: Retrieve out of sample/fold predictions

View source: R/civis_ml.R

fetch_oos_scoresR 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


civis documentation built on April 1, 2023, 12:01 a.m.