
public class EvaluateClustering extends Object implements Evaluator
| Modifier and Type | Class and Description |
|---|---|
static class |
EvaluateClustering.Parameterizer
Parameterization class.
|
static class |
EvaluateClustering.ScoreResult
Result object for outlier score judgements.
|
| Modifier and Type | Field and Description |
|---|---|
private static Logging |
LOG
Logger for debug output.
|
static OptionID |
NOISE_ID
Parameter flag for special noise handling.
|
private boolean |
noiseSpecialHandling
Apply special handling to noise "clusters".
|
static OptionID |
REFERENCE_ID
Parameter to obtain the reference clustering.
|
private ClusteringAlgorithm<?> |
referencealg
Reference algorithm.
|
static OptionID |
SELFPAIR_ID
Parameter flag to disable self-pairing
|
private boolean |
selfPairing
Use 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)