powered by
PP.Tree(PPmethod, i.class, i.data, weight = TRUE, r = NULL, lambda = NULL, cooling = 0.999, temp = 1, energy = 0.01, ...)
``LDA'' - LDA index
``Lp'' - Lp index;
``PDA'' - PDA index
PPindex.class
PP.optimize
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 <- PP.Tree("LDA",iris[train,5],iris[train,1:4]) Tree.result
Run the code above in your browser using DataLab