vda.le
and produces various useful summaries from it.
"summary"(object, ...)
vda.le
.
object
, of class vda.le. It also prints the lambda used in the analysis. Additionally, it prints the coefficients and the resulting predictions made by Vertex Discriminant Analysis on the training set and the following training error.
vda.le
, print.vda.le
# load zoo data
# column 1 is name, columns 2:17 are features, column 18 is class
data(zoo)
# feature matrix without intercept
x<-zoo[,2:17]
# class vector
y<-zoo[,18]
#run VDA
out<-vda.le(x, y)
summary(out)
Run the code above in your browser using DataLab