es.nlp.uned.weps.evaluation.measures
Class BCubedExtPrecision

java.lang.Object
  extended by es.nlp.uned.weps.evaluation.measures.Measure
      extended by es.nlp.uned.weps.evaluation.measures.BCubedExtPrecision

public class BCubedExtPrecision
extends Measure


Field Summary
static java.lang.String ID
          The BCUBE d_ EX t_ PRECISION.
 
Constructor Summary
BCubedExtPrecision()
           
 
Method Summary
 java.lang.String getID()
           
 double getScore(Clustering key, Clustering answer)
          New formula for the extended BCubed precision and recall scores Este método asume que todas los elementos tiene categoría Cuando el sistema no anota un elemento no este tiene precision = 1 y recall = 0 Cuando el anotador no anota, no se evalua el elemento ya que pertenece a un problema de filtrado.
 double[] getScores(Clustering key, Clustering answer)
          Returns an array of two doubles {precision, recall}
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final java.lang.String ID
The BCUBE d_ EX t_ PRECISION.

See Also:
Constant Field Values
Constructor Detail

BCubedExtPrecision

public BCubedExtPrecision()
Method Detail

getScore

public double getScore(Clustering key,
                       Clustering answer)
New formula for the extended BCubed precision and recall scores Este método asume que todas los elementos tiene categoría Cuando el sistema no anota un elemento no este tiene precision = 1 y recall = 0 Cuando el anotador no anota, no se evalua el elemento ya que pertenece a un problema de filtrado.

Specified by:
getScore in class Measure
Parameters:
answer -
key -
Returns:

getScores

public double[] getScores(Clustering key,
                          Clustering answer)
Returns an array of two doubles {precision, recall}

Parameters:
key -
answer -
Returns:

getID

public java.lang.String getID()
Overrides:
getID in class Measure