Skip to contents

Obtain the permuted importance variable measure

Usage

permute_importance(ppf)

Arguments

ppf

is a PPforest object

Value

A data frame with permuted importance measures, imp is the permuted importance measure defined in Brieman paper, imp2 is the permuted importance measure defined in randomForest package, the standard deviation (sd.im and sd.imp2) for each measure is computed and the also the standardized mesure.

Examples

pprf.crab <- PPforest(data = crab, class = 'Type',
std = TRUE, size.tr = 1, m = 100, size.p = .4, PPmethod = 'LDA', parallel = TRUE, core = 2)
permute_importance(ppf = pprf.crab) 
#>   nm   imp    sd.imp      imp2   sd.imp2 imp2.std  imp.std
#> 1 CW 12.27 11.128138 0.1669751 0.1501726 1.111888 1.102610
#> 2 CL 14.00  9.982814 0.1936907 0.1380000 1.403555 1.402410
#> 3 BD 14.82 13.674706 0.2036439 0.1870608 1.088651 1.083753
#> 4 RW 15.41 11.684484 0.2120529 0.1599439 1.325796 1.318843
#> 5 FL 16.24 12.917860 0.2248441 0.1807173 1.244175 1.257174