Class Silhouette.Par<O>
- java.lang.Object
-
- elki.evaluation.clustering.internal.Silhouette.Par<O>
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- Silhouette<O>
public static class Silhouette.Par<O> extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private Distance<? super O>distanceDistance function to use.static OptionIDDISTANCE_IDParameter for choosing the distance function.static OptionIDNO_PENALIZE_IDDo not penalize ignored noise.static OptionIDNOISE_IDParameter to treat noise as a single cluster.private NoiseHandlingnoiseOptionNoise handlingprivate booleanpenalizePenalize noise, ifNoiseHandling.IGNORE_NOISEis set.
-
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.Silhouette<O>make()Make an instance after successful configuration.
-
-
-
Field Detail
-
DISTANCE_ID
public static final OptionID DISTANCE_ID
Parameter for choosing the distance function.
-
NOISE_ID
public static final OptionID NOISE_ID
Parameter to treat noise as a single cluster.
-
NO_PENALIZE_ID
public static final OptionID NO_PENALIZE_ID
Do not penalize ignored noise.
-
noiseOption
private NoiseHandling noiseOption
Noise handling
-
penalize
private boolean penalize
Penalize noise, ifNoiseHandling.IGNORE_NOISEis set.
-
-
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 Silhouette<O> 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
-
-