Ensembles of Caret Models

Functions for creating ensembles of caret models: caretList and caretStack. caretList is a convenience function for fitting multiple caret::train models to the same dataset. caretStack will make linear or non-linear combinations of these models, using a caret::train model as a meta-model, and caretEnsemble will make a robust linear combination of models using a glm.


Framework for fitting multiple caret models using the same re-sampling strategy as well as creating ensembles of such models. Use caretList to fit multiple models, and then use caretEnsemble to combine them greedily, or caretStack to combine them using a caret model.

caretEnsemble was inspired by medley, which in turn was inspired by Caruana et. al.'s (2004) paper Ensemble Selection from Libraries of Models.

Install the stable version from CRAN:

install.packages('caretEnsemble')

Install the dev version from github:

devtools::install_github('zachmayer/caretEnsemble')

There are also tagged versions of caretEnsemble on github you can install via devtools. For example, to install the original draft of the API:

devtools::install_github('zachmayer/caretEnsemble@0.0')

Code of Conduct:

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("caretEnsemble")

2.0.0 by Zachary A. Deane-Mayer, 2 years ago


https://github.com/zachmayer/caretEnsemble


Report a bug at https://github.com/zachmayer/caretEnsemble/issues


Browse source code at https://github.com/cran/caretEnsemble


Authors: Zachary A. Deane-Mayer [aut, cre], Jared E. Knowles [aut]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports methods, pbapply, ggplot2, digest, plyr, lattice, gridExtra, data.table, caret

Suggests caTools, testthat, lintr, randomForest, glmnet, rpart, kernlab, nnet, e1071, ipred, pROC, knitr, mlbench, MASS, gbm, klaR


See at CRAN