Package elki.clustering.kmedoids
Class FastCLARA.Par<V>
- java.lang.Object
-
- elki.clustering.kmedoids.PAM.Par<V>
-
- elki.clustering.kmedoids.FastPAM1.Par<V>
-
- elki.clustering.kmedoids.FastPAM.Par<V>
-
- elki.clustering.kmedoids.FastCLARA.Par<V>
-
- All Implemented Interfaces:
Parameterizer
public static class FastCLARA.Par<V> extends FastPAM.Par<V>
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
keepmed
Keep the previous medoids in the sample.static OptionID
NOKEEPMED_ID
Draw independent samples.(package private) int
numsamples
Number of samples to draw (i.e. iterations).static OptionID
NUMSAMPLES_ID
The number of samples to run.(package private) RandomFactory
random
Random factory for initialization.static OptionID
RANDOM_ID
Random generator.static OptionID
SAMPLESIZE_ID
The sample size.(package private) double
sampling
Sampling rate.-
Fields inherited from class elki.clustering.kmedoids.FastPAM.Par
fasttol, FASTTOL_ID
-
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 void
configure(Parameterization config)
Configure the class.FastCLARA<V>
make()
Make an instance after successful configuration.-
Methods inherited from class elki.clustering.kmedoids.FastPAM.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: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 classFastPAM.Par<V>
- Parameters:
config
- Parameterization
-
make
public FastCLARA<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
- Overrides:
make
in classFastPAM.Par<V>
- Returns:
- a new instance
-
-