DATATYPE
- public class SpectralClusteringConf<DATATYPE> extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
SpectralClusteringConf.ClustererProvider<DATATYPE>
A function which can represent itself as a string
|
protected static class |
SpectralClusteringConf.DefaultClustererFunction<DATATYPE> |
Modifier and Type | Field and Description |
---|---|
EigenChooser |
eigenChooser
The method used to select the number of eigen vectors from the lower
valued eigenvalues
|
boolean |
eigenValueScale |
GraphLaplacian |
laplacian
The graph laplacian creator
|
int |
skipEigenVectors |
Constructor and Description |
---|
SpectralClusteringConf(SpatialClusterer<? extends SpatialClusters<DATATYPE>,DATATYPE> internal)
The underlying
EigenChooser is set to an
ChangeDetectingEigenChooser which looks for a 100x gap between
eigen vectors to select number of clusters. |
SpectralClusteringConf(SpatialClusterer<? extends SpatialClusters<DATATYPE>,DATATYPE> internal,
GraphLaplacian laplacian)
The underlying
EigenChooser is set to an
ChangeDetectingEigenChooser which looks for a 100x gap between
eigen vectors to select number of clusters. |
SpectralClusteringConf(SpatialClusterer<? extends SpatialClusters<DATATYPE>,DATATYPE> internal,
GraphLaplacian lap,
int top) |
SpectralClusteringConf(SpatialClusterer<? extends SpatialClusters<DATATYPE>,DATATYPE> internal,
int eigK) |
SpectralClusteringConf(SpectralClusteringConf.ClustererProvider<DATATYPE> internal)
The underlying
EigenChooser is set to an
ChangeDetectingEigenChooser which looks for a 100x gap between
eigen vectors to select number of clusters. |
public GraphLaplacian laplacian
public EigenChooser eigenChooser
public int skipEigenVectors
public boolean eigenValueScale
public SpectralClusteringConf(SpatialClusterer<? extends SpatialClusters<DATATYPE>,DATATYPE> internal, int eigK)
internal
- the internal clusterereigK
- the value handed to HardCodedEigenChooser
public SpectralClusteringConf(SpatialClusterer<? extends SpatialClusters<DATATYPE>,DATATYPE> internal)
EigenChooser
is set to an
ChangeDetectingEigenChooser
which looks for a 100x gap between
eigen vectors to select number of clusters. It also insists upon a
maximum of 0.1 * number of data items (so 10 items per cluster)internal
- the internal clustererpublic SpectralClusteringConf(SpatialClusterer<? extends SpatialClusters<DATATYPE>,DATATYPE> internal, GraphLaplacian lap, int top)
internal
- an internal clustererlap
- the laplaciantop
- the top eigen vectorspublic SpectralClusteringConf(SpatialClusterer<? extends SpatialClusters<DATATYPE>,DATATYPE> internal, GraphLaplacian laplacian)
EigenChooser
is set to an
ChangeDetectingEigenChooser
which looks for a 100x gap between
eigen vectors to select number of clusters. It also insists upon a
maximum of 0.1 * number of data items (so 10 items per cluster)internal
- the internal clustererlaplacian
- the graph laplacianpublic SpectralClusteringConf(SpectralClusteringConf.ClustererProvider<DATATYPE> internal)
EigenChooser
is set to an
ChangeDetectingEigenChooser
which looks for a 100x gap between
eigen vectors to select number of clusters. It also insists upon a
maximum of 0.1 * number of data items (so 10 items per cluster)internal
- the internal clusterer