Package elki.clustering.kmedoids
Class CLARA.Par<V>
- java.lang.Object
-
- elki.clustering.kmedoids.PAM.Par<V>
-
- elki.clustering.kmedoids.CLARA.Par<V>
-
- All Implemented Interfaces:
Parameterizer
public static class CLARA.Par<V> extends PAM.Par<V>
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description (package private) booleankeepmedKeep the previous medoids in the sample.static OptionIDNOKEEPMED_IDDraw independent samples.(package private) intnumsamplesNumber of samples to draw (i.e. iterations).static OptionIDNUMSAMPLES_IDThe number of samples to run.(package private) RandomFactoryrandomRandom factory for initialization.static OptionIDRANDOM_IDRandom generator.static OptionIDSAMPLESIZE_IDThe sample size.(package private) doublesamplingSampling rate.-
Fields inherited from class elki.clustering.kmedoids.PAM.Par
distance, initializer, k, maxiter
-
-
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.CLARA<V>make()Make an instance after successful configuration.-
Methods inherited from class elki.clustering.kmedoids.PAM.Par
defaultInitializer
-
-
-
-
Field Detail
-
NUMSAMPLES_ID
public static final OptionID NUMSAMPLES_ID
The number of samples to run.
-
SAMPLESIZE_ID
public static final OptionID SAMPLESIZE_ID
The sample size.
-
NOKEEPMED_ID
public static final OptionID NOKEEPMED_ID
Draw independent samples.
-
RANDOM_ID
public static final OptionID RANDOM_ID
Random generator.
-
sampling
double sampling
Sampling rate. If less than 1, it is considered to be a relative value.
-
numsamples
int numsamples
Number of samples to draw (i.e. iterations).
-
keepmed
boolean keepmed
Keep the previous medoids in the sample.
-
random
RandomFactory random
Random factory for initialization.
-
-
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- Overrides:
configurein classPAM.Par<V>- Parameters:
config- Parameterization
-
make
public CLARA<V> 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- Overrides:
makein classPAM.Par<V>- Returns:
- a new instance
-
-