Package elki.clustering.kmeans
Class SingleAssignmentKMeans.Par<V extends NumberVector>
- java.lang.Object
-
- elki.clustering.kmeans.AbstractKMeans.Par<V>
-
- elki.clustering.kmeans.SingleAssignmentKMeans.Par<V>
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- SingleAssignmentKMeans<V extends NumberVector>
public static class SingleAssignmentKMeans.Par<V extends NumberVector> extends AbstractKMeans.Par<V>
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
-
Fields inherited from class elki.clustering.kmeans.AbstractKMeans.Par
distance, initializer, k, maxiter, varstat
-
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Parameterization config)
Configure the class.SingleAssignmentKMeans<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 SingleAssignmentKMeans<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
-
-