qkpca-class {qkerntool} | R Documentation |
The qkernel Principal Components Analysis class
Objects can be created by calls of the form new("qkpca", ...)
.
or by calling the qkpca
function.
pcv
:Object of class "matrix"
containing the
principal component vectors
eVal
:Object of class "vector"
containing the
corresponding eigenvalues
rotated
:Object of class "matrix"
containing the
projection of the data on the principal components
signature(object = "qkpca")
: returns the eigenvalues
signature(object = "qkpca")
: returns the principal
component vectors
signature(object = "qkpca")
: embeds new data
signature(object = "qkpca")
: returns the
projected data
signature(object = "qkpca")
: returns the used
data matrix
signature(object = "qkpca")
: returns the
performed call
signature(object = "qkpca")
: returns the used
kernel function
Yusen Zhang
yusenzhang@126.com
qkernel-class
,
cndkernel-class
# another example using the iris data
data(iris)
test <- sample(1:150,20)
qkpc <- qkpca(~.,iris[-test,-5], kernel = "rbfbase",
qpar = list(sigma = 50, q = 0.8), features = 2)
# print the principal component vectors
pcv(qkpc)
rotated(qkpc)
cndkernf(qkpc)
eVal(qkpc)
xmatrix(qkpc)
names(eVal(qkpc))