
public class EvaluateClustering extends Object implements Evaluator
| Modifier and Type | Class and Description | 
|---|---|
| static class  | EvaluateClustering.ParameterizerParameterization class. | 
| static class  | EvaluateClustering.ScoreResultResult object for outlier score judgements. | 
| Modifier and Type | Field and Description | 
|---|---|
| private static Logging | LOGLogger for debug output. | 
| static OptionID | NOISE_IDParameter flag for special noise handling. | 
| private boolean | noiseSpecialHandlingApply special handling to noise "clusters". | 
| static OptionID | REFERENCE_IDParameter to obtain the reference clustering. | 
| private ClusteringAlgorithm<?> | referencealgReference algorithm. | 
| static OptionID | SELFPAIR_IDParameter flag to disable self-pairing | 
| private boolean | selfPairingUse self-pairing in pair-counting measures | 
| Constructor and Description | 
|---|
| EvaluateClustering(ClusteringAlgorithm<?> referencealg,
                  boolean noiseSpecialHandling,
                  boolean selfPairing)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| private boolean | isReferenceResult(Clustering<?> t) | 
| void | processNewResult(HierarchicalResult baseResult,
                Result result)Process a result. | 
private static final Logging LOG
public static final OptionID REFERENCE_ID
public static final OptionID NOISE_ID
public static final OptionID SELFPAIR_ID
private ClusteringAlgorithm<?> referencealg
private boolean noiseSpecialHandling
private boolean selfPairing
public EvaluateClustering(ClusteringAlgorithm<?> referencealg, boolean noiseSpecialHandling, boolean selfPairing)
referencealg - Reference clusteringnoiseSpecialHandling - Noise handling flagselfPairing - Self-pairing flagpublic void processNewResult(HierarchicalResult baseResult, Result result)
ResultProcessorprocessNewResult in interface ResultProcessorbaseResult - The base of the result tree.result - Newly added result subtree.private boolean isReferenceResult(Clustering<?> t)