LDA.Tree: Finding PP tree structure using LDA index

Description Usage Arguments Value References See Also Examples

Description

Find tree structure using linear discriminant in each split.

Usage

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

Arguments

i.class

class information

i.data

A training data without class information

weight

weight flag using in LDA index

Value

Tree.Struct Tree structure of PPtree result

Alpha.Keep 1D projections of each split

C.Keep spliting rules for each split

References

Lee, YD, Cook, D., Park JW, and Lee, EK(2013) PPtree: Projection pursuit classification tree, Electronic Journal of Statistics, 7:1369-1386.

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 <- LDA.Tree(iris[train,5],iris[train,1:4])
Tree.result

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