CLUSTERTYPE
- The type of cluster produced.DATATYPE
- the primitive array datatype which represents a centroid of this
cluster.public interface SpatialClusterer<CLUSTERTYPE extends SpatialClusters<DATATYPE>,DATATYPE> extends Clusterer<DATATYPE[]>
SpatialClusterer
clusters data that can be represented as points in
a space. Each point is typically represented by a numerical coordinate
vector.Modifier and Type | Method and Description |
---|---|
CLUSTERTYPE |
cluster(DataSource<DATATYPE> data)
Perform clustering with data from a data source.
|
CLUSTERTYPE |
cluster(DATATYPE[] data)
Perform clustering on the given data.
|
performClustering
CLUSTERTYPE cluster(DATATYPE[] data)
data
- the data.CLUSTERTYPE cluster(DataSource<DATATYPE> data)
DataSource
could potentially be backed by disk rather in memory.data
- the data.