public abstract static class AbstractKMeans.Parameterizer<V extends NumberVector> extends AbstractNumberVectorDistanceBasedAlgorithm.Parameterizer<V>
Modifier and Type | Field and Description |
---|---|
protected KMeansInitialization<V> |
initializer
Initialization method.
|
protected int |
k
k Parameter.
|
protected int |
maxiter
Maximum number of iterations.
|
distanceFunction
Constructor and Description |
---|
AbstractKMeans.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected abstract Logging |
getLogger()
Get class logger.
|
protected void |
getParameterDistanceFunction(Parameterization config)
Get the distance function parameter.
|
protected void |
getParameterInitialization(Parameterization config)
Get the initialization method parameter.
|
protected void |
getParameterK(Parameterization config)
Get the k parameter.
|
protected void |
getParameterMaxIter(Parameterization config)
Get the max iterations parameter.
|
protected abstract AbstractKMeans<V,?> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
protected int k
protected int maxiter
protected KMeansInitialization<V extends NumberVector> initializer
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractNumberVectorDistanceBasedAlgorithm.Parameterizer<V extends NumberVector>
config
- Parameterization to add options to.protected void getParameterK(Parameterization config)
config
- Parameterizationprotected void getParameterDistanceFunction(Parameterization config)
config
- Parameterizationprotected void getParameterInitialization(Parameterization config)
config
- Parameterizationprotected void getParameterMaxIter(Parameterization config)
config
- Parameterizationprotected abstract Logging getLogger()
protected abstract AbstractKMeans<V,?> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.