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