caretEnsemble: 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.

Author
Zachary A. Deane-Mayer [aut, cre], Jared E. Knowles [aut]
Date of publication
2016-02-07 10:50:09
Maintainer
Zachary A. Deane-Mayer <zach.mayer@gmail.com>
License
MIT + file LICENSE
Version
2.0.0
URLs

View on CRAN

Man pages

autoplot
Convenience function for more in-depth diagnostic plots of...
bestPreds
Extract the best predictions from a train object
caretEnsemble
caretEnsemble: Make ensembles of caret models.
caretList
Create a list of several train models from the caret package...
caretModelSpec
Generate a specification for fitting a caret model
caretStack
Combine several predictive models via stacking
c.caretList
S3 definition for concatenating caretList
check_bestpreds_indexes
Check row indexes
check_bestpreds_obs
Check observeds
check_bestpreds_preds
Check predictions
check_bestpreds_resamples
Check resamples
check_caretList_classes
Checks caretList model classes
check_caretList_model_types
Checks that caretList models are all of the same type.
c.train
S3 definition for concatenating train objects
data
caretList of classification models
dotplot.caretStack
Comparison dotplot for a caretStack object
extractBestPreds
Extract the best predictions from a list of train objects
extractCaretTarget
Extracts the target variable from a set of arguments headed...
extractCaretTarget.default
Extracts the target variable from a set of arguments headed...
extractCaretTarget.formula
Extracts the target variable from a set of arguments headed...
extractModelTypes
Extracts the model types from a list of train model
extractModFrame
Extract a dataframe of all predictors used in a caretEnsemble...
extractModRes
Extract the model accuracy metrics of the individual models...
fortify
Supplement the data fitted to a caret ensemble model with...
is.caretEnsemble
Check if an object is a caretEnsemble object
is.caretList
Check if an object is a caretList object
is.caretStack
Check if an object is a caretStack object
makePredObsMatrix
Make a prediction matrix from a list of models
methodCheck
Check that the methods supplied by the user are valid caret...
metrics
Extract accuracy metrics from a model
multiResiduals
Calculate the residuals from all component models of a...
plot.caretEnsemble
Plot Diagnostics for an caretEnsemble Object
plot.caretStack
Plot a caretStack object
predict.caretList
Create a matrix of predictions for each of the models in a...
predict.caretStack
Make predictions from a caretStack
print.caretStack
Print a caretStack object
residuals.caretEnsemble
Calculate the residuals from a caretEnsemble.
summary.caretEnsemble
Summarize the results of caretEnsemble for the user.
summary.caretStack
Summarize a caretStack object
trControlCheck
Check that the trainControl object supplied by the user is...
tuneCheck
Check that the tuning parameters list supplied by the user is...
varImp.caretEnsemble
Calculate the variable importance of variables in a...
wtd.sd
Calculate a weighted standard deviation

Files in this package

caretEnsemble
caretEnsemble/inst
caretEnsemble/inst/data-raw
caretEnsemble/inst/data-raw/build_test_data.R
caretEnsemble/inst/doc
caretEnsemble/inst/doc/caretEnsemble-intro.R
caretEnsemble/inst/doc/caretEnsemble-intro.Rmd
caretEnsemble/inst/doc/caretEnsemble-intro.html
caretEnsemble/tests
caretEnsemble/tests/testthat.R
caretEnsemble/tests/testthat
caretEnsemble/tests/testthat/test-ensembleMethods.R
caretEnsemble/tests/testthat/test-ensemble.R
caretEnsemble/tests/testthat/test-S3-generic-extensions.R
caretEnsemble/tests/testthat/test-parallel.R
caretEnsemble/tests/testthat/test-a-skip.R
caretEnsemble/tests/testthat/test-helper_functions.R
caretEnsemble/tests/testthat/test-caretStack.R
caretEnsemble/tests/testthat/test-caretList.R
caretEnsemble/tests/testthat/test-lintr.R
caretEnsemble/NAMESPACE
caretEnsemble/data
caretEnsemble/data/X.class.rda
caretEnsemble/data/X.reg.rda
caretEnsemble/data/models.class.rda
caretEnsemble/data/Y.reg.rda
caretEnsemble/data/datalist
caretEnsemble/data/models.reg.rda
caretEnsemble/data/Y.class.rda
caretEnsemble/R
caretEnsemble/R/caretList.R
caretEnsemble/R/caretStack.R
caretEnsemble/R/caretEnsemble-package.R
caretEnsemble/R/helper_functions.R
caretEnsemble/R/caretEnsemble.R
caretEnsemble/R/S3GenericExtenstions.R
caretEnsemble/vignettes
caretEnsemble/vignettes/caretEnsemble-intro.Rmd
caretEnsemble/README.md
caretEnsemble/MD5
caretEnsemble/build
caretEnsemble/build/vignette.rds
caretEnsemble/DESCRIPTION
caretEnsemble/man
caretEnsemble/man/fortify.Rd
caretEnsemble/man/bestPreds.Rd
caretEnsemble/man/check_bestpreds_resamples.Rd
caretEnsemble/man/varImp.caretEnsemble.Rd
caretEnsemble/man/predict.caretStack.Rd
caretEnsemble/man/metrics.Rd
caretEnsemble/man/extractBestPreds.Rd
caretEnsemble/man/check_bestpreds_preds.Rd
caretEnsemble/man/is.caretList.Rd
caretEnsemble/man/plot.caretEnsemble.Rd
caretEnsemble/man/c.caretList.Rd
caretEnsemble/man/methodCheck.Rd
caretEnsemble/man/check_bestpreds_obs.Rd
caretEnsemble/man/wtd.sd.Rd
caretEnsemble/man/dotplot.caretStack.Rd
caretEnsemble/man/extractModelTypes.Rd
caretEnsemble/man/check_caretList_classes.Rd
caretEnsemble/man/caretList.Rd
caretEnsemble/man/c.train.Rd
caretEnsemble/man/extractCaretTarget.formula.Rd
caretEnsemble/man/extractCaretTarget.Rd
caretEnsemble/man/caretEnsemble.Rd
caretEnsemble/man/multiResiduals.Rd
caretEnsemble/man/predict.caretList.Rd
caretEnsemble/man/caretStack.Rd
caretEnsemble/man/autoplot.Rd
caretEnsemble/man/is.caretEnsemble.Rd
caretEnsemble/man/extractModFrame.Rd
caretEnsemble/man/trControlCheck.Rd
caretEnsemble/man/data.Rd
caretEnsemble/man/plot.caretStack.Rd
caretEnsemble/man/summary.caretStack.Rd
caretEnsemble/man/print.caretStack.Rd
caretEnsemble/man/extractCaretTarget.default.Rd
caretEnsemble/man/makePredObsMatrix.Rd
caretEnsemble/man/summary.caretEnsemble.Rd
caretEnsemble/man/extractModRes.Rd
caretEnsemble/man/tuneCheck.Rd
caretEnsemble/man/residuals.caretEnsemble.Rd
caretEnsemble/man/check_caretList_model_types.Rd
caretEnsemble/man/caretModelSpec.Rd
caretEnsemble/man/is.caretStack.Rd
caretEnsemble/man/check_bestpreds_indexes.Rd
caretEnsemble/LICENSE