get_yvalues: Get the y values (outcomes) used in the training data

Description Usage Arguments Value

View source: R/fit_SuperLearner_funs.R

Description

Get the y values (outcomes) used in the training data

Usage

1
get_yvalues(modelfit, subset_idx = NULL, ...)

Arguments

modelfit

A model object of class PredictionModel returned by functions fit_model or fit.

subset_idx

The index of rows (subset of training data) that was actually used for buiding / fitting the models

Value

A vector of out-of-sample predictions from the best selected model (CV-MSE).


osofr/gridisl documentation built on May 24, 2019, 4:55 p.m.