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