Package elki.clustering.kmeans
Class HartiganWongKMeans.Parameterizer<V extends NumberVector>
- java.lang.Object
-
- elki.clustering.kmeans.AbstractKMeans.Par<V>
-
- elki.clustering.kmeans.HartiganWongKMeans.Parameterizer<V>
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- HartiganWongKMeans<V extends NumberVector>
public static class HartiganWongKMeans.Parameterizer<V extends NumberVector> extends AbstractKMeans.Par<V>
Parameterization class.- Author:
- Minh Nhat Nguyen
-
-
Field Summary
-
Fields inherited from class elki.clustering.kmeans.AbstractKMeans.Par
distance, initializer, k, maxiter, varstat
-
-
Constructor Summary
Constructors Constructor Description Parameterizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Parameterization config)
Configure the class.HartiganWongKMeans<V>
make()
Make an instance after successful configuration.-
Methods inherited from class elki.clustering.kmeans.AbstractKMeans.Par
getParameterDistance, getParameterInitialization, getParameterK, getParameterMaxIter, getParameterVarstat, needsMetric
-
-
-
-
Method Detail
-
configure
public void configure(Parameterization config)
Description copied from interface:Parameterizer
Configure the class.Note: the status is collected by the parameterization object, so that multiple errors may arise and be reported in one run.
- Specified by:
configure
in interfaceParameterizer
- Overrides:
configure
in classAbstractKMeans.Par<V extends NumberVector>
- Parameters:
config
- Parameterization
-
make
public HartiganWongKMeans<V> make()
Description copied from interface:Parameterizer
Make an instance after successful configuration.Note: your class should return the exact type, only this very broad interface should use
Object
as return type.- Specified by:
make
in interfaceParameterizer
- Specified by:
make
in classAbstractKMeans.Par<V extends NumberVector>
- Returns:
- a new instance
-
-