edu.washington.cs.knowitall.rule.confidence
Class PrecisionRecallConfidenceFunction
java.lang.Object
edu.washington.cs.knowitall.rule.confidence.ConfidenceFunction<PrecisionRecallScore>
edu.washington.cs.knowitall.rule.confidence.PrecisionRecallConfidenceFunction
- All Implemented Interfaces:
- com.google.common.base.Function<Rule,PrecisionRecallScore>
- Direct Known Subclasses:
- MRConfidenceFunction
public class PrecisionRecallConfidenceFunction
- extends ConfidenceFunction<PrecisionRecallScore>
A simple confidence function that computes the percentage of resulting
ontological relations a rule creates that match an annotation.
- Author:
- schmmd
| Methods inherited from class edu.washington.cs.knowitall.rule.confidence.ConfidenceFunction |
apply, apply, createRank, match, numberAnnotationsCorrect, reduce, relations, relations, results, results, setResults |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Function |
equals |
minRecall
protected final double minRecall
PrecisionRecallConfidenceFunction
public PrecisionRecallConfidenceFunction(List<AnnotatedSentence> annotateds,
OntologicalRelationMatcher matcher,
double minRecall)
PrecisionRecallConfidenceFunction
public PrecisionRecallConfidenceFunction(List<AnnotatedSentence> annotateds)
PrecisionRecallConfidenceFunction
public PrecisionRecallConfidenceFunction(List<AnnotatedSentence> annotateds,
OntologicalRelationMatcher matcher)
PrecisionRecallConfidenceFunction
public PrecisionRecallConfidenceFunction(List<AnnotatedSentence> annotateds,
double minRecall)
apply
public PrecisionRecallScore apply(Rule rule)
- Specified by:
apply in interface com.google.common.base.Function<Rule,PrecisionRecallScore>- Specified by:
apply in class ConfidenceFunction<PrecisionRecallScore>
apply
public PrecisionRecallScore apply(Iterable<Rule> rules,
int size)
- Overrides:
apply in class ConfidenceFunction<PrecisionRecallScore>
createScore
protected PrecisionRecallScore createScore(double correct,
double error,
int annotationCount,
int size)
Copyright © 2011 University of Washington CSE. All Rights Reserved.