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