public static class KMeans.Parameterizer<V extends NumberVector<V,?>,D extends Distance<D>> extends AbstractPrimitiveDistanceBasedAlgorithm.Parameterizer<V,D>
Modifier and Type | Field and Description |
---|---|
protected int |
k |
protected int |
maxiter |
protected Long |
seed |
distanceFunction
Constructor and Description |
---|
KMeans.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected KMeans<V,D> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
protected int k
protected int maxiter
protected Long seed
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractPrimitiveDistanceBasedAlgorithm.Parameterizer<V extends NumberVector<V,?>,D extends Distance<D>>
config
- Parameterization to add options to.protected KMeans<V,D> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer