Extract a dataframe of all predictors used in a caretEnsemble object.
Calculate a weighted standard deviation
Calculate the residuals from a caretEnsemble.
extractCaretTarget.default
Extracts the target variable from a set of arguments headed to the caret::train.default function.
Check predictions
Extract accuracy metrics from a model
Calculate the residuals from all component models of a caretEnsemble.
Create a list of several train models from the caret package
Build a list of train objects suitable for ensembling using the caretEnsemble
function. caretList of classification models
Make predictions from a caretStack
Check that the methods supplied by the user are valid caret methods
Plot a caretStack object
Convenience function for more in-depth diagnostic plots of caretEnsemble objects
Extracts the model types from a list of train model
Extract the model accuracy metrics of the individual models in an ensemble object.
Check if an object is a caretEnsemble object
Summarize a caretStack object
Extract the best predictions from a train object
Supplement the data fitted to a caret ensemble model with model fit statistics
Create a matrix of predictions for each of the models in a caretList
caretEnsemble: Make ensembles of caret models.
Make a prediction matrix from a list of models
check_bestpreds_resamples
Check resamples
Check row indexes
Calculate the variable importance of variables in a caretEnsemble.
Extract the best predictions from a list of train objects
Summarize the results of caretEnsemble for the user.
Check if an object is a caretList object
Checks caretList model classes
Extracts the target variable from a set of arguments headed to the caret::train function.
Check if an object is a caretStack object
Comparison dotplot for a caretStack object
Check that the trainControl object supplied by the user is valid and has defined re-sampling indexes.
Combine several predictive models via stacking
check_caretList_model_types
Checks that caretList models are all of the same type.
extractCaretTarget.formula
Extracts the target variable from a set of arguments headed to the caret::train.formula function.
Plot Diagnostics for an caretEnsemble Object
Print a caretStack object
Check that the tuning parameters list supplied by the user is valid
S3 definition for concatenating train objects
Generate a specification for fitting a caret model
S3 definition for concatenating caretList
Check observeds