Ensembles of Caret Models


[Up] [Top]

Documentation for package ‘caretEnsemble’ version 1.0.0

Help Pages

autoplot.caretEnsemble Convenience function for more in-depth diagnostic plots of caretEnsemble objects
caretEnsemble Combine several predictive models via weights
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
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.
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 to the caret::train function.
extractCaretTarget.default Extracts the target variable from a set of arguments headed to the caret::train.default function.
extractCaretTarget.formula Extracts the target variable from a set of arguments headed to the caret::train.formula function.
extractModelTypes Extracts the model types from a list of train model
extractModFrame Extract a dataframe of all predictors used in a caretEnsemble object.
extractModRes Extract the model accuracy metrics of the individual models in an ensemble object.
fortify.caretEnsemble Supplement the data fitted to a caret ensemble model with model fit statistics
getAUC Extract a model accuracy metric from an S3 object.
getMetric Extract a model accuracy metric from an S3 object.
getMetric.train Extract a model accuracy metric from an S3 object.
getMetricSD Extract the standard deviation from resamples for an accuracy metric from a model object.
getRMSE Extract a model accuracy metric from an S3 object.
greedOptAUC Greedy optimization of the area under the curve
greedOptRMSE Greedy optimization of the reduced mean square error
makePredObsMatrix Make a prediction matrix from a list of models
methodCheck Check that the methods supplied by the user are valid caret methods
multiResiduals Calculate the residuals from all component models of a caretEnsemble.
plot.caretEnsemble Plot Diagnostics for an caretEnsemble Object
plot.caretStack Plot a caretStack object
predict.caretEnsemble Make predictions from a caretEnsemble. This function passes the data to each function in turn to make a matrix of predictions, and then multiplies that matrix by the vector of weights to get a single, combined vector of predictions.
predict.caretList Create a matrix of predictions for each of the models in a caretList
predict.caretStack Make predictions from a caretStack
print.caretStack Print a caretStack object
residuals.caretEnsemble Calculate the residuals from a caretEnsemble.
safeOptAUC Safe optimization of the AUC
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 valid and has defined re-sampling indexes.
tuneCheck Check that the tuning parameters list supplied by the user is valid
varImp.caretEnsemble Calculate the variable importance of variables in a caretEnsemble.
wtd.sd Calculate a weighted standard deviation