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, setBeta
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAccOrTooWeak2
public AccMethodPredAccApprox()
public void init()
Component
init
in interface Component
init
in class AccMethodPredAcc
public double getAccApprox2(org.semanticweb.owlapi.model.OWLClassExpression description, Collection<org.semanticweb.owlapi.model.OWLIndividual> positiveExamples, Collection<org.semanticweb.owlapi.model.OWLIndividual> negativeExamples, double noise)
AccMethodTwoValuedApproximate
getAccApprox2
in interface AccMethodTwoValuedApproximate
description
- the expression to testpositiveExamples
- set of positive examplesnegativeExamples
- set of negative examplesnoise
- noisepublic double getApproxDelta()
getApproxDelta
in interface AccMethodApproximate
public void setApproxDelta(double approxDelta)
AccMethodApproximate
setApproxDelta
in interface AccMethodApproximate
approxDelta
- deltapublic void setReasoner(Reasoner reasoner)
AccMethodApproximate
setReasoner
in interface AccMethodApproximate
reasoner
- the problem reasoner DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann