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>
distance
Distance function to use.static OptionID
DISTANCE_ID
Parameter for choosing the distance function.static OptionID
NO_PENALIZE_ID
Do not penalize ignored noise.static OptionID
NOISE_ID
Parameter to treat noise as a single cluster.private NoiseHandling
noiseOption
Noise handlingprivate boolean
penalize
Penalize noise, ifNoiseHandling.IGNORE_NOISE
is set.
-
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.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_NOISE
is set.
-
-
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 Silhouette<O> 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
-
-