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 int
k
Number of cluster centers to initialize.protected int
maxiter
Maximum number of iterationsprotected RandomFactory
rnd
Our Random factory
-
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.UKMeans
make()
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: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
- Parameters:
config
- Parameterization
-
make
public UKMeans 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
- Returns:
- a new instance
-
-