pred_new: Caret ensemble list prediction

Description Usage Arguments Value Examples

View source: R/caretEnsemble_package.R

Description

This function takes the model list and runs the prediction for one model

Usage

1
pred_new(i, model_list, data)

Arguments

i

model index

model_list

caret list containing list of models

data

data on which prediction should be performed

Value

Vector of predictions for p(y=1)

Examples

1
pred_new(i = 1, model_list = caretlist, data = train_data)

SNaveenMathew/EnsembleModel documentation built on May 28, 2019, 2:29 p.m.