
public static class KMeansBatchedLloyd.Parameterizer<V extends NumberVector<?>,D extends Distance<D>> extends AbstractKMeans.Parameterizer<V,D>
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
blocks
Number of blocks.
|
static OptionID |
BLOCKS_ID
Parameter for the number of blocks.
|
(package private) RandomFactory |
random
Random used for partitioning.
|
static OptionID |
RANDOM_ID
Random source for blocking.
|
initializer, k, maxiterdistanceFunction| Constructor and Description |
|---|
KMeansBatchedLloyd.Parameterizer() |
| Modifier and Type | Method and Description |
|---|---|
protected Logging |
getLogger()
Get class logger.
|
protected KMeansBatchedLloyd<V,D> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, makepublic static final OptionID BLOCKS_ID
public static final OptionID RANDOM_ID
int blocks
RandomFactory random
protected void makeOptions(Parameterization config)
AbstractParameterizermakeOptions in class AbstractKMeans.Parameterizer<V extends NumberVector<?>,D extends Distance<D>>config - Parameterization to add options to.protected Logging getLogger()
AbstractKMeans.ParameterizergetLogger in class AbstractKMeans.Parameterizer<V extends NumberVector<?>,D extends Distance<D>>protected KMeansBatchedLloyd<V,D> makeInstance()
AbstractParameterizermakeInstance in class AbstractKMeans.Parameterizer<V extends NumberVector<?>,D extends Distance<D>>