PPindex.class {classPP} | R Documentation |
For given projected data and class information, calculate projeciton pursuit index.
PPindex.class(PPmethod,data,class,weight=TRUE,r=NULL,lambda=NULL) PPindex.LDA(data,class, weight = TRUE) PPindex.Lp(data, class, r) PPindex.PDA(data,class,lambda)
PPmethod |
Selected PP index
``LDA" - LDA index ``Lp" - Lp index ``PDA" - Entropy-class index |
data |
A data without class information |
class |
class information |
weight |
weight flag using in LDA index |
r |
a parameter for L^r index |
lambda |
a parameter for PDA index |
The value is an projection pursuit index for given data.
Eun-kyung Lee
Lee, E., Cook, D., and Klinke, S.(2002) Projection Pursuit indices for supervised classification
{PP.optimize}
data(iris) PPindex.class("LDA",iris[,1:2],iris[,5]) PPindex.class("LDA",iris[,1:2],iris[,5],weight=FALSE) PPindex.class("Lp",iris[,1:2],iris[,5],r=1) PPindex.class("PDA",iris[,1:2],iris[,5],lambda=0.1)