de.aitools.dm.clusterlabeling.validation.external.measure
Class MeanReciprocalRank

java.lang.Object
  extended by de.aitools.dm.clusterlabeling.validation.external.PreferencedMeasure
      extended by de.aitools.dm.clusterlabeling.validation.external.measure.MeanReciprocalRank
All Implemented Interfaces:
ExternalMeasure

public class MeanReciprocalRank
extends PreferencedMeasure

The reciprocal of the rank of the first cluster-label that matches the reference-label.

Version:
$Id: MeanReciprocalRank.java,v 1.1 2011/02/18 16:08:22 hoppe Exp $
Author:
johannes.kiesel(/\t)uni-weimar.de

Constructor Summary
MeanReciprocalRank(MeasurePreferences preferences)
           
 
Method Summary
 double eval()
          This will evaluate depending on the concrete implementation.
 double evalAt(int n)
          This will evaluate depending on the concrete implementation.
 
Methods inherited from class de.aitools.dm.clusterlabeling.validation.external.PreferencedMeasure
evalClusterLabels, evalReferenceLabel, getClusterLabels, getReferenceLabel, setClusterLabels, setReferenceLabel
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeanReciprocalRank

public MeanReciprocalRank(MeasurePreferences preferences)
Method Detail

eval

public double eval()
Description copied from interface: ExternalMeasure
This will evaluate depending on the concrete implementation.
Attention: The return-value may vary significantly in its meaning depending on the implementation. Higher values should suggest closer pairs.


evalAt

public double evalAt(int n)
Description copied from interface: ExternalMeasure
This will evaluate depending on the concrete implementation.
Attention: The return-value may vary significantly in its meaning depending on the implementation. Higher values should suggest closer pairs.