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, maxiter
distanceFunction
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, make
public static final OptionID BLOCKS_ID
public static final OptionID RANDOM_ID
int blocks
RandomFactory random
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractKMeans.Parameterizer<V extends NumberVector<?>,D extends Distance<D>>
config
- Parameterization to add options to.protected Logging getLogger()
AbstractKMeans.Parameterizer
getLogger
in class AbstractKMeans.Parameterizer<V extends NumberVector<?>,D extends Distance<D>>
protected KMeansBatchedLloyd<V,D> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractKMeans.Parameterizer<V extends NumberVector<?>,D extends Distance<D>>