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