
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 | 
|---|---|
| protected void | evaluteResult(Database db,
             Clustering<?> c,
             Clustering<?> refc)Evaluate a clustering result. | 
| private boolean | isReferenceResult(Clustering<?> t)Test if a clustering result is a valid reference result. | 
| void | processNewResult(ResultHierarchy hier,
                Result newResult)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(ResultHierarchy hier, Result newResult)
ResultProcessorprocessNewResult in interface ResultProcessorhier - The base of the result tree.newResult - Newly added result subtree.protected void evaluteResult(Database db, Clustering<?> c, Clustering<?> refc)
db - Databasec - Clusteringrefc - Reference clusteringprivate boolean isReferenceResult(Clustering<?> t)
t - Clustering to test.true if it is considered to be a reference result.Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.