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