ppf_global_imp {PPforest} | R Documentation |
Global importance measure for a PPforest object
Description
Global importance measure for a PPforest object
Usage
ppf_global_imp(data, y, ppf)
Arguments
data |
Data frame with the complete data set. |
y |
A character with the name of the class variable. |
ppf |
is a PPforest object |
Value
Data frame with the global importance measure
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)
[Package PPforest version 0.2.0 Index]