public class PreparedSpectralClustering extends Object implements DataClusterer<ch.akuhn.matrix.eigenvalues.Eigenvalues,SpectralIndexedClusters>
Eigenvalues perform the stages of spectral
clustering which involve the selection of the best eigen values and the
calling of an internal clustering algorithm| Constructor and Description |
|---|
PreparedSpectralClustering(SpectralClusteringConf<double[]> conf) |
| Modifier and Type | Method and Description |
|---|---|
protected IndependentPair<double[],double[][]> |
bestCols(ch.akuhn.matrix.eigenvalues.Eigenvalues eig) |
SpectralIndexedClusters |
cluster(ch.akuhn.matrix.eigenvalues.Eigenvalues eig) |
protected SpectralIndexedClusters |
eigenspaceCluster(IndependentPair<double[],double[][]> lowestCols) |
int[][] |
performClustering(ch.akuhn.matrix.eigenvalues.Eigenvalues data) |
public PreparedSpectralClustering(SpectralClusteringConf<double[]> conf)
conf - public int[][] performClustering(ch.akuhn.matrix.eigenvalues.Eigenvalues data)
performClustering in interface Clusterer<ch.akuhn.matrix.eigenvalues.Eigenvalues>public SpectralIndexedClusters cluster(ch.akuhn.matrix.eigenvalues.Eigenvalues eig)
cluster in interface DataClusterer<ch.akuhn.matrix.eigenvalues.Eigenvalues,SpectralIndexedClusters>eig - the data to be clusteredprotected SpectralIndexedClusters eigenspaceCluster(IndependentPair<double[],double[][]> lowestCols)
protected IndependentPair<double[],double[][]> bestCols(ch.akuhn.matrix.eigenvalues.Eigenvalues eig)