Global importance measure for a PPforest object
References
da Silva, N., Cook, D., & Lee, E. K. (2021). A projection pursuit forest algorithm for supervised classification. Journal of Computational and Graphical Statistics, 30(4), 1168-1180.
Examples
#crab data set with all the observations used as training
pprf.crab <- PPforest(data = crab, y = 'Type',
std = 'no', size.tr = 1, m = 200, size.p = .5,
PPmethod = 'LDA', parallel = TRUE, cores = 2)
ppf_global_imp(data = crab, y = 'Type', pprf.crab)
#> # A tibble: 5 × 2
#> variable mean
#> <fct> <dbl>
#> 1 RW 0.404
#> 2 FL 0.295
#> 3 BD 0.291
#> 4 CL 0.241
#> 5 CW 0.238