public class DoubleSpectralClustering extends Object implements SimilarityClusterer<SpectralIndexedClusters>
| Modifier and Type | Field and Description |
|---|---|
protected SpectralClusteringConf<double[]> |
conf |
| Modifier | Constructor and Description |
|---|---|
protected |
DoubleSpectralClustering() |
|
DoubleSpectralClustering(SpectralClusteringConf<double[]> conf) |
| Modifier and Type | Method and Description |
|---|---|
SpectralIndexedClusters |
cluster(ch.akuhn.matrix.SparseMatrix data) |
SpectralIndexedClusters |
clusterSimilarity(ch.akuhn.matrix.SparseMatrix sim) |
protected ch.akuhn.matrix.SparseMatrix |
laplacian(ch.akuhn.matrix.SparseMatrix data) |
protected ch.akuhn.matrix.eigenvalues.Eigenvalues |
laplacianEigenVectors(ch.akuhn.matrix.SparseMatrix laplacian) |
int[][] |
performClustering(ch.akuhn.matrix.SparseMatrix data) |
protected ch.akuhn.matrix.eigenvalues.Eigenvalues |
spectralCluster(ch.akuhn.matrix.SparseMatrix data) |
String |
toString() |
protected SpectralClusteringConf<double[]> conf
public DoubleSpectralClustering(SpectralClusteringConf<double[]> conf)
conf - cluster the eigen vectorsprotected DoubleSpectralClustering()
public SpectralIndexedClusters clusterSimilarity(ch.akuhn.matrix.SparseMatrix sim)
clusterSimilarity in interface SimilarityClusterer<SpectralIndexedClusters>sim - the similarity matrixpublic SpectralIndexedClusters cluster(ch.akuhn.matrix.SparseMatrix data)
cluster in interface DataClusterer<ch.akuhn.matrix.SparseMatrix,SpectralIndexedClusters>data - the data to be clusteredprotected ch.akuhn.matrix.eigenvalues.Eigenvalues spectralCluster(ch.akuhn.matrix.SparseMatrix data)
protected ch.akuhn.matrix.eigenvalues.Eigenvalues laplacianEigenVectors(ch.akuhn.matrix.SparseMatrix laplacian)
protected ch.akuhn.matrix.SparseMatrix laplacian(ch.akuhn.matrix.SparseMatrix data)
public int[][] performClustering(ch.akuhn.matrix.SparseMatrix data)
performClustering in interface Clusterer<ch.akuhn.matrix.SparseMatrix>