de.lmu.ifi.dbs.elki.evaluation.paircounting
Class EvaluatePairCountingFMeasure

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.evaluation.paircounting.EvaluatePairCountingFMeasure
All Implemented Interfaces:
Evaluator, ResultProcessor

public class EvaluatePairCountingFMeasure
extends Object
implements Evaluator

Evaluate a clustering result by comparing it to an existing cluster label.


Nested Class Summary
static class EvaluatePairCountingFMeasure.Parameterizer
          Parameterization class.
static class EvaluatePairCountingFMeasure.ScoreResult
          Result object for outlier score judgements.
 
Field Summary
protected static Logging logger
          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.
 
Constructor Summary
EvaluatePairCountingFMeasure(ClusteringAlgorithm<?> referencealg, boolean noiseSpecialHandling)
          Constructor.
 
Method Summary
 void processNewResult(HierarchicalResult baseResult, Result result)
          Process a result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final Logging logger
Logger for debug output.


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.


referencealg

private ClusteringAlgorithm<?> referencealg
Reference algorithm.


noiseSpecialHandling

private boolean noiseSpecialHandling
Apply special handling to noise "clusters".

Constructor Detail

EvaluatePairCountingFMeasure

public EvaluatePairCountingFMeasure(ClusteringAlgorithm<?> referencealg,
                                    boolean noiseSpecialHandling)
Constructor.

Parameters:
referencealg - Reference clustering
noiseSpecialHandling - Noise handling flag
Method Detail

processNewResult

public void processNewResult(HierarchicalResult baseResult,
                             Result result)
Description copied from interface: ResultProcessor
Process a result.

Specified by:
processNewResult in interface ResultProcessor
Parameters:
baseResult - The base of the result tree.
result - Newly added result subtree.

Release 0.4.0 (2011-09-20_1324)