Package elki.evaluation.clustering
Class EvaluateClustering.Par
- java.lang.Object
-
- elki.evaluation.clustering.EvaluateClustering.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- EvaluateClustering
public static class EvaluateClustering.Par extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description static OptionIDNOISE_IDParameter flag for special noise handling.private booleannoiseSpecialHandlingApply special handling to noise "clusters".static OptionIDREFERENCE_IDParameter to obtain the reference clustering.private ClusteringAlgorithm<?>referencealgReference algorithm.static OptionIDSELFPAIR_IDParameter flag to disable self-pairingprivate booleanselfPairingUse self-pairing in pair-counting measures
-
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.EvaluateClusteringmake()Make an instance after successful configuration.
-
-
-
Field Detail
-
REFERENCE_ID
public static final OptionID REFERENCE_ID
Parameter to obtain the reference clustering. Defaults to a flat label clustering.
-
NOISE_ID
public static final OptionID NOISE_ID
Parameter flag for special noise handling.
-
SELFPAIR_ID
public static final OptionID SELFPAIR_ID
Parameter flag to disable self-pairing
-
referencealg
private ClusteringAlgorithm<?> referencealg
Reference algorithm.
-
noiseSpecialHandling
private boolean noiseSpecialHandling
Apply special handling to noise "clusters".
-
selfPairing
private boolean selfPairing
Use self-pairing in pair-counting measures
-
-
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 EvaluateClustering 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
-
-