Class "kpca"
The Kernel Principal Components Analysis class class
Objects can be created by calls of the form new("kpca", ...)
. or by calling the kpca
function.
pcv
:: Object of class "matrix"
containing the principal component vectorseig
:: Object of class "vector"
containing the corresponding eigenvaluesrotated
:: Object of class "matrix"
containing the projection of the data on the principal componentskernelf
:: Object of class "function"
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 = "kpca")
: returns the eigenvaluessignature(object = "kpca")
: returns the performed callsignature(object = "kpca")
: returns the used kernel functionsignature(object = "kpca")
: returns the principal component vectorssignature(object = "kpca")
: embeds new datasignature(object = "kpca")
: returns the projected datasignature(object = "kpca")
: returns the used data matrixAlexandros Karatzoglou
alexandros.karatzoglou@ci.tuwien.ac.at
ksvm-class
, kcca-class
# another example using the iris data(iris) test <- sample(1:50,20) kpc <- kpca(~.,data=iris[-test,-5],kernel="rbfdot", kpar=list(sigma=0.2),features=2) #print the principal component vectors pcv(kpc) rotated(kpc) kernelf(kpc) eig(kpc)
Useful links