PDA.Tree: Find PP tree structure using PDA index

Description Usage Arguments Value References See Also Examples

Description

Find tree structure using projection pursuit in each split.

Usage

1
PDA.Tree(i.class, i.data, weight = TRUE, lambda=1, ...)

Arguments

i.class

class information

i.data

A training data without class information

weight

weight flag using in LDA index

lambda

a parameter for PDA index

Value

Tree.Struct Tree structure

Alpha.Keep 1D projection of each split

C.Keep spliting rule for each split

References

Lee, E.-K., Cook, D. (2009) A Projection Pursuit Index for Large p Small n Data, Statistics and Computing, http://www.springerlink.com/content/g47n0n342761838m/#?p=d2ff5a7b69eb45ef8abf7ef3aba69557&pi=3.

See Also

PPindex.class, PP.optimize

Examples

1
2
3
4
5
6
7
8
data(iris)
n <- nrow(iris)
tot <- c(1:n)
n.train <- round(n*0.9)
train <- sample(tot,n.train)
test <- tot[-train]
Tree.result <- PDA.Tree(iris[train,5],iris[train,1:4])
Tree.result

EK-Lee/PPtree documentation built on May 6, 2019, 3:07 p.m.