Package elki.clustering.uncertain
Class UKMeans.Par
- java.lang.Object
-
- elki.clustering.uncertain.UKMeans.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- UKMeans
public static class UKMeans.Par extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Alexander Koos
-
-
Field Summary
Fields Modifier and Type Field Description protected intkNumber of cluster centers to initialize.protected intmaxiterMaximum number of iterationsprotected RandomFactoryrndOur Random factory
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(Parameterization config)Configure the class.UKMeansmake()Make an instance after successful configuration.
-
-
-
Field Detail
-
k
protected int k
Number of cluster centers to initialize.
-
maxiter
protected int maxiter
Maximum number of iterations
-
rnd
protected RandomFactory rnd
Our Random factory
-
-
Method Detail
-
configure
public void configure(Parameterization config)
Description copied from interface:ParameterizerConfigure 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:
configurein interfaceParameterizer- Parameters:
config- Parameterization
-
make
public UKMeans make()
Description copied from interface:ParameterizerMake an instance after successful configuration.Note: your class should return the exact type, only this very broad interface should use
Objectas return type.- Specified by:
makein interfaceParameterizer- Returns:
- a new instance
-
-