T - Type of object being clusteredpublic abstract class FeatureVectorKMeansInit<T> extends Object
DataSource.getRandomRows(DATATYPE[])| Modifier and Type | Class and Description |
|---|---|
static class |
FeatureVectorKMeansInit.RANDOM<T>
Simple kmeans initialized on randomly selected samples.
|
| Constructor and Description |
|---|
FeatureVectorKMeansInit() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
initKMeans(DataSource<T> bds,
T[] clusters)
Initialise the centroids based on the given data.
|
public FeatureVectorKMeansInit()
public abstract void initKMeans(DataSource<T> bds, T[] clusters) throws IOException
bds - the data source of samplesclusters - the clusters to initIOException - problem reading samples