Global importance measure for a PPforest object as the average IMP PPtree measure over all the trees in the forest
Source:R/ppf_avg_imp.R
ppf_avg_imp.Rd
Global importance measure for a PPforest object as the average IMP PPtree measure over all the trees in the forest
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, std = 'min-max', y = 'Type',
size.tr = 1, m = 100, size.p = .5, PPmethod = 'LDA')
ppf_avg_imp(pprf.crab, 'Type')
#> # A tibble: 5 × 2
#> variable mean
#> <fct> <dbl>
#> 1 CL 0.477
#> 2 CW 0.412
#> 3 RW 0.377
#> 4 BD 0.306
#> 5 FL 0.294