public class PreparedSpectralClustering extends Object implements DataClusterer<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 algorithmConstructor and Description |
---|
PreparedSpectralClustering(SpectralClusteringConf<double[]> conf) |
Modifier and Type | Method and Description |
---|---|
protected IndependentPair<double[],double[][]> |
bestCols(Eigenvalues eig) |
SpectralIndexedClusters |
cluster(Eigenvalues eig) |
protected SpectralIndexedClusters |
eigenspaceCluster(IndependentPair<double[],double[][]> lowestCols) |
int[][] |
performClustering(Eigenvalues data) |
public PreparedSpectralClustering(SpectralClusteringConf<double[]> conf)
conf
- public int[][] performClustering(Eigenvalues data)
performClustering
in interface Clusterer<Eigenvalues>
public SpectralIndexedClusters cluster(Eigenvalues eig)
cluster
in interface DataClusterer<Eigenvalues,SpectralIndexedClusters>
eig
- the data to be clusteredprotected SpectralIndexedClusters eigenspaceCluster(IndependentPair<double[],double[][]> lowestCols)
protected IndependentPair<double[],double[][]> bestCols(Eigenvalues eig)