public class AccMethodAMeasureApprox extends AccMethodAMeasure implements AccMethodTwoValuedApproximate
Constructor and Description |
---|
AccMethodAMeasureApprox() |
Modifier and Type | Method and Description |
---|---|
double |
getAccApprox2(org.semanticweb.owlapi.model.OWLClassExpression description,
Collection<org.semanticweb.owlapi.model.OWLIndividual> classInstances,
Collection<org.semanticweb.owlapi.model.OWLIndividual> superClassInstances,
double noise)
calculate approximate accuracy for an expression, according to method
|
double |
getApproxDelta() |
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, init, setBeta
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAccOrTooWeak2
public AccMethodAMeasureApprox()
public 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 reasonerpublic double getAccApprox2(org.semanticweb.owlapi.model.OWLClassExpression description, Collection<org.semanticweb.owlapi.model.OWLIndividual> classInstances, Collection<org.semanticweb.owlapi.model.OWLIndividual> superClassInstances, double noise)
AccMethodTwoValuedApproximate
getAccApprox2
in interface AccMethodTwoValuedApproximate
description
- the expression to testclassInstances
- set of positive examplessuperClassInstances
- set of negative examplesnoise
- noise DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann