public static class EvaluateSilhouette.Parameterizer<O> extends AbstractParameterizer
Modifier and Type | Field and Description |
---|---|
private DistanceFunction<? 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 handling
|
private boolean |
penalize
Penalize noise, if
NoiseHandling.IGNORE_NOISE is set. |
Constructor and Description |
---|
Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected EvaluateSilhouette<O> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID DISTANCE_ID
public static final OptionID NOISE_ID
public static final OptionID NO_PENALIZE_ID
private DistanceFunction<? super O> distance
private NoiseHandling noiseOption
private boolean penalize
NoiseHandling.IGNORE_NOISE
is set.protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.protected EvaluateSilhouette<O> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer
Copyright © 2019 ELKI Development Team. License information.