public static class KMeansHamerly.Parameterizer<V extends NumberVector> extends AbstractKMeans.Parameterizer<V>
initializer, k, maxiter, varstat
distanceFunction
Constructor and Description |
---|
Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected KMeansHamerly<V> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
protected boolean |
needsMetric()
Users could use other non-metric distances at their own risk; but some
k-means variants make explicit use of the triangle inequality, we emit
extra warnings then.
|
getParameterDistanceFunction, getParameterInitialization, getParameterK, getParameterMaxIter, getParameterVarstat
configure, make
protected boolean needsMetric()
AbstractKMeans.Parameterizer
needsMetric
in class AbstractKMeans.Parameterizer<V extends NumberVector>
true
if the algorithm uses triangle inequalityprotected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractKMeans.Parameterizer<V extends NumberVector>
config
- Parameterization to add options to.protected KMeansHamerly<V> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractKMeans.Parameterizer<V extends NumberVector>
Copyright © 2019 ELKI Development Team. License information.