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