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