zachmayer / caretEnsemble

caret models all the way down :turtle:
Other
226 stars 75 forks source link

CRAN_Status_Badge R-CMD-check Tests Code Coverage Downloads License Discord

caretEnsemble: (Read the vignette!)

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 caretStack to stack 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.

If you want to do something similar in python, check out vecstack

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')

caretEnsemble has changed a bit over the years, so the tags let you use older versions of the package (e.g. if you want to use greedy ensembling).

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.