Learn R Programming

PPforest (version 0.2.0)

ppf_avg_imp: Global importance measure for a PPforest object as the average IMP PPtree measure over all the trees in the forest

Description

Global importance measure for a PPforest object as the average IMP PPtree measure over all the trees in the forest

Usage

ppf_avg_imp(ppf, y)

Value

Data frame with the global importance measure

Arguments

ppf

is a PPforest object

y

A character with the name of the class variable.

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

Run this code
#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') 
 

Run the code above in your browser using DataLab