Class "kha"
The Kernel Hebbian Algorithm class class
Objects can be created by calls of the form new("kha", ...)
. or by calling the kha
function.
pcv
:: Object of class "matrix"
containing the principal component vectorseig
:: Object of class "vector"
containing the corresponding normalization valueseskm
:: Object of class "vector"
containing the kernel sumkernelf
:: Object of class "kfunction"
containing the kernel function usedkpar
:: Object of class "list"
containing the kernel parameters usedxmatrix
:: Object of class "matrix"
containing the data matrix usedkcall
:: Object of class "ANY"
containing the function calln.action
:: Object of class "ANY"
containing the action performed on NAsignature(object = "kha")
: returns the normalization valuessignature(object = "kha")
: returns the performed callsignature(object = "kha")
: returns the used kernel functionsignature(object = "kha")
: returns the principal component vectorssignature(object = "kha")
: returns the kernel sumsignature(object = "kha")
: embeds new datasignature(object = "kha")
: returns the used data matrixAlexandros Karatzoglou
alexandros.karatzoglou@ci.tuwien.ac.at
kha
, ksvm-class
, kcca-class
# 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, eta=0.001, maxiter=65) #print the principal component vectors pcv(kpc) kernelf(kpc) eig(kpc)
Useful links