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
FloatKMeansInit
initKMeans
in class FloatKMeansInit
bds
- the data source of samplesclusters
- the clusters to initIOException
- problem reading samples