qkspecc-class: Class "qkspecc"

Description Objects from the Class Slots Methods Author(s) See Also Examples

Description

The qKernel Spectral Clustering Class

Objects from the Class

Objects can be created by calls of the form new("qkspecc", ...). or by calling the function qkspecc.

Slots

clust:

Object of class "vector" containing the cluster assignments

eVec:

Object of class "matrix" containing the corresponding eigenvector in each cluster

eVal:

Object of class "vector" containing the corresponding eigenvalue for each cluster

withinss:

Object of class "vector" containing the within-cluster sum of squares for each cluster

Methods

clust

signature(object = "qkspecc"): returns the cluster assignments

eVec

signature(object = "qkspecc"): returns the corresponding eigenvector in each cluster

eVal

signature(object = "qkspecc"): returns the corresponding eigenvalue for each cluster

xmatrix

signature(object = "qkspecc"): returns the original data matrix or a kernel Matrix

ymatrix

signature(object = "qkspecc"): returns The eigenvectors corresponding to the k smallest eigenvalues of the graph Laplacian matrix.

cndkernf

signature(object = "qkspecc"): returns the used kernel function

kcall

signature(object = "qkspecc"): returns the performed call

Author(s)

Yusen Zhang
yusenzhang@126.com

See Also

qkspecc, qkernel-class, cndkernel-class

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Cluster the iris data set.
data("iris")
x=as.matrix(iris[,-5])

qspe <- qkspecc(x,kernel = "rbfbase", qpar = list(sigma = 10, q = 0.9),
                Nocent=3, normalize="symmetric", maxk=15, iterations=1200)
clust(qspe)
eVec(qspe)
eVal(qspe)
xmatrix(qspe)
ymatrix(qspe)
cndkernf(qspe)

qkerntool documentation built on May 2, 2019, 6:11 a.m.