kha-class {kernlab} | R Documentation |
The Kernel Hebbian Algorithm class
Objects can be created by calls of the form new("kha", ...)
.
or by calling the kha
function.
pcv
:"matrix"
containing the
principal component vectors eig
:"vector"
containing the
coresponding normalization valueseskm
:"vector"
containing the
kernel sumkernelf
:"kfunction"
containing
the kernel function usedkpar
:"list"
containing the
kernel parameters used xmatrix
:"matrix"
conatining
the data matrix used kcall
:"ANY"
containing the
function call n.action
:"ANY"
containg the
action performed on NA signature(object = "kha")
: returns the
normalization values signature(object = "kha")
: returns the
performed callsignature(object = "kha")
: returns the used
kernel functionsignature(object = "kha")
: returns the principal
component vectors signature(object = "kha")
: returns the kernel sumsignature(object = "kha")
: embeeds new data signature(object = "kha")
: returns the used
data matrix
Alexandros Karatzoglou
alexandros.karatzoglou@ci.tuwien.ac.at
# another example using the iris data(iris) test <- sample(1:50,20) kpc <- kha(~.,data=iris[-test,-5], kernel="rbfdot", kpar=list(sigma=0.2),features=2) #print the principal component vectors pcv(kpc) kernelf(kpc) eig(kpc)