Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

predict.caretList

Create a matrix of predictions for each of the models in a caretList


Description

Make a matrix of predictions from a list of caret models

Usage

## S3 method for class 'caretList'
predict(object, newdata = NULL, ...,
  verbose = FALSE)

Arguments

object

an object of class caretList

newdata

New data for predictions. It can be NULL, but this is ill-advised.

...

additional arguments to pass to predict.train. Pass the newdata argument here, DO NOT PASS the "type" argument. Classification models will return probabilities if possible, and regression models will return "raw".

verbose

Logical. If FALSE no progress bar is printed if TRUE a progress bar is shown. Default FALSE.


caretEnsemble

Ensembles of Caret Models

v2.0.1
MIT + file LICENSE
Authors
Zachary A. Deane-Mayer [aut, cre], Jared E. Knowles [aut]
Initial release
2019-12-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.