public static class SameSizeKMeansAlgorithm.Parameterizer<V extends NumberVector<?>> extends AbstractParameterizer
Modifier and Type | Field and Description |
---|---|
protected PrimitiveDoubleDistanceFunction<? super NumberVector<?>> |
distanceFunction
Distance function
|
protected KMeansInitialization<V> |
initializer
Initialization method.
|
protected int |
k
k Parameter.
|
protected int |
maxiter
Number of iterations.
|
Constructor and Description |
---|
SameSizeKMeansAlgorithm.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected SameSizeKMeansAlgorithm<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 PrimitiveDoubleDistanceFunction<? super NumberVector<?>> distanceFunction
public SameSizeKMeansAlgorithm.Parameterizer()
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.protected SameSizeKMeansAlgorithm<V> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer