powered by
Construct the projection pursuit classification tree
PPTreeclass(formula,data, PPmethod="LDA",weight=TRUE, r=1,lambda=0.1,energy=0,maxiter=50000,...)
an object of class "formula"
data frame
method for projection pursuit; "LDA", "PDA", "Lr", "GINI", and "ENTROPY"
weight flag in LDA, PDA and Lr index
r in Lr index
lambda in PDA index
parameter for the probability to take new projection
maximum iteration number
arguments to be passed to methods
Tree.Struct tree structure of projection pursuit classification tree
projbest.node 1 dimensional optimal projections of each node split
splitCutoff.node cutoff values of each node split
origclass original class
origdata original data
Find tree structure using various projection pursuit indices of classification in each split.
Lee, YD, Cook, D., Park JW, and Lee, EK(2013) PPtree: Projection Pursuit Classification Tree, Electronic Journal of Statistics, 7:1369-1386.
# NOT RUN { data(iris) Tree.result <- PPTreeclass(Species~.,data = iris,"LDA") Tree.result # }
Run the code above in your browser using DataLab