public class CKVWSpectralClustering06 extends Object implements Clustering
David Cheng , Ravi Kannan , Santosh Vempala , Grant Wang (2003) A Divid-and-Merge Methodology for Clustering. Available here.
This implementation implements a subclass of theBaseSpectralCut
and simply computes the second eigen vector for a data set.BaseSpectralCut
,
SpectralClustering
Modifier and Type | Class and Description |
---|---|
class |
CKVWSpectralClustering06.SuperSpectralCut
An internal spectral cut implementation that is based on the referred to
paper.
|
class |
CKVWSpectralClustering06.SuperSpectralGenerator
A simple generator for creating instances of the
SpectralCut
class. |
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_PREFIX
The proper prefix.
|
static String |
USE_KMEANS
The property used to use K-Means as the objective function.
|
Constructor and Description |
---|
CKVWSpectralClustering06() |
Modifier and Type | Method and Description |
---|---|
Assignments |
cluster(Matrix matrix,
int numClusters,
Properties props)
Clusters the set of rows in the given
Matrix into the specified
number of clusters. |
Assignments |
cluster(Matrix matrix,
Properties props)
Clusters the set of rows in the given
Matrix without a specified
number of clusters (optional operation). |
String |
toString() |
public static final String PROPERTY_PREFIX
public static final String USE_KMEANS
public Assignments cluster(Matrix matrix, Properties props)
Matrix
without a specified
number of clusters (optional operation). The set of cluster assignments
are returned for each row in the matrix.cluster
in interface Clustering
matrix
- the Matrix
whose row data points are to be
clusteredprops
- the properties to use for any parameters each clustering
algorithm may needAssignment
instances that indicate zero or
more clusters to which each row belongs.public Assignments cluster(Matrix matrix, int numClusters, Properties props)
Matrix
into the specified
number of clusters. The set of cluster assignments are returned for each
row in the matrix.cluster
in interface Clustering
matrix
- the Matrix
whose row data points are to be
clusterednumClusters
- the number of clusters to generateprops
- the properties to use for any parameters each clustering
algorithm may needAssignment
instances that indicate zero or
more clusters to which each row belongs.Copyright © 2012. All Rights Reserved.