edu.washington.cs.knowitall.rule.learn
Class SimpleMaximizingRuleSetOptimizer<E extends Comparable<E>>
java.lang.Object
edu.washington.cs.knowitall.rule.learn.Learner<E>
edu.washington.cs.knowitall.rule.learn.RuleSetOptimizer<E>
edu.washington.cs.knowitall.rule.learn.SimpleMaximizingRuleSetOptimizer<E>
public class SimpleMaximizingRuleSetOptimizer<E extends Comparable<E>>
- extends RuleSetOptimizer<E>
Rule learning framework for mapping extractions onto an ontology. Annotations
of rule instances are supplied, as well as corresponding extractions. For
each annotation, a base rule is created by making a maximally constrained
rule that results in the ontological relation given the extraction. Then the
base rule is generalized using a search algorithm, by default beam search. A
list of generalized rules are returned. There may be more than one value in
the case of a tie.
- Author:
- schmmd
| Methods inherited from class edu.washington.cs.knowitall.rule.learn.Learner |
generalize |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleMaximizingRuleSetOptimizer
public SimpleMaximizingRuleSetOptimizer(BaseRuleFactory factory,
RuleValidator validator,
ConfidenceFunction<E> confidence)
optimize
public Collection<Rule> optimize(Iterable<Rule> rulesIterable)
- Specified by:
optimize in class RuleSetOptimizer<E extends Comparable<E>>
optimize
public Set<Set<Rule>> optimize(Collection<Set<Rule>> rules,
E score)
Copyright © 2011 University of Washington CSE. All Rights Reserved.