public class CachedDoubleSpectralClustering extends DoubleSpectralClustering
DoubleSpectralClustering
extention which knows how to write and read its eigenvectors to disk
and therefore not regenerate them when calling the underlying PreparedSpectralClustering
conf
Constructor and Description |
---|
CachedDoubleSpectralClustering(File cache,
SpectralClusteringConf<double[]> conf) |
Modifier and Type | Method and Description |
---|---|
protected Eigenvalues |
spectralCluster(SparseMatrix data) |
cluster, clusterSimilarity, laplacian, laplacianEigenVectors, performClustering, toString
public CachedDoubleSpectralClustering(File cache, SpectralClusteringConf<double[]> conf)
cache
- location to cache the eigenvectorsconf
- cluster the eigen vectorsprotected Eigenvalues spectralCluster(SparseMatrix data)
spectralCluster
in class DoubleSpectralClustering