edu.washington.cs.knowitall.rule.confidence.score
Class PrecisionRecallScore
java.lang.Object
edu.washington.cs.knowitall.rule.confidence.score.Score
edu.washington.cs.knowitall.rule.confidence.score.PrecisionRecallScore
- All Implemented Interfaces:
- Comparable<PrecisionRecallScore>
public class PrecisionRecallScore
- extends Score
- implements Comparable<PrecisionRecallScore>
|
Constructor Summary |
PrecisionRecallScore(double precision,
double recall,
int constraints)
|
PrecisionRecallScore(double precision,
double recall,
int constraints,
edu.washington.cs.knowitall.commonlib.ComparableSequence<Integer> sequence)
|
precision
public final double precision
recall
public final double recall
constraints
public final int constraints
PrecisionRecallScore
public PrecisionRecallScore(double precision,
double recall,
int constraints,
edu.washington.cs.knowitall.commonlib.ComparableSequence<Integer> sequence)
PrecisionRecallScore
public PrecisionRecallScore(double precision,
double recall,
int constraints)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
compareTo
public int compareTo(PrecisionRecallScore score)
- Specified by:
compareTo in interface Comparable<PrecisionRecallScore>
Copyright © 2011 University of Washington CSE. All Rights Reserved.