public class AccMethodPredAccApprox extends AccMethodPredAcc implements AccMethodTwoValuedApproximate
| Constructor and Description |
|---|
AccMethodPredAccApprox() |
| Modifier and Type | Method and Description |
|---|---|
double |
getAccApprox2(org.semanticweb.owlapi.model.OWLClassExpression description,
Collection<org.semanticweb.owlapi.model.OWLIndividual> positiveExamples,
Collection<org.semanticweb.owlapi.model.OWLIndividual> negativeExamples,
double noise)
calculate approximate accuracy for an expression, according to method
|
double |
getApproxDelta() |
void |
init()
Method to be called after the component has been configured.
|
void |
setApproxDelta(double approxDelta)
set the approximation delta;
this option should be exposed via @ConfigOption
|
void |
setReasoner(Reasoner reasoner)
set the reasoner;
consumers of the accuracy method should call this method on all approximate components
|
getAccOrTooWeak2, setBetaequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAccOrTooWeak2public AccMethodPredAccApprox()
public void init()
Componentinit in interface Componentinit in class AccMethodPredAccpublic double getAccApprox2(org.semanticweb.owlapi.model.OWLClassExpression description, Collection<org.semanticweb.owlapi.model.OWLIndividual> positiveExamples, Collection<org.semanticweb.owlapi.model.OWLIndividual> negativeExamples, double noise)
AccMethodTwoValuedApproximategetAccApprox2 in interface AccMethodTwoValuedApproximatedescription - the expression to testpositiveExamples - set of positive examplesnegativeExamples - set of negative examplesnoise - noisepublic double getApproxDelta()
getApproxDelta in interface AccMethodApproximatepublic void setApproxDelta(double approxDelta)
AccMethodApproximatesetApproxDelta in interface AccMethodApproximateapproxDelta - deltapublic void setReasoner(Reasoner reasoner)
AccMethodApproximatesetReasoner in interface AccMethodApproximatereasoner - the problem reasoner
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann