Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

varImp.caretEnsemble

Calculate the variable importance of variables in a caretEnsemble.


Description

This function wraps the varImp function in the caret package to provide a weighted estimate of the importance of variables in the ensembled models in a caretEnsemble object. Variable importance for each model is calculated and then averaged by the weight of the overall model in the ensembled object.

Usage

## S3 method for class 'caretEnsemble'
varImp(object, ...)

Arguments

object

a caretEnsemble to make predictions from.

...

other arguments to be passed to varImp

Value

A data.frame with one row per variable and one column per model in object


caretEnsemble

Ensembles of Caret Models

v2.0.1
MIT + file LICENSE
Authors
Zachary A. Deane-Mayer [aut, cre], Jared E. Knowles [aut]
Initial release
2019-12-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.