public class ReasoningUtilsCLP extends ReasoningUtils
ReasoningUtils.Coverage, ReasoningUtils.Coverage3, ReasoningUtils.Coverage3Count, ReasoningUtils.CoverageCount
reasoner
Constructor and Description |
---|
ReasoningUtilsCLP(ClassLearningProblem problem,
AbstractReasonerComponent reasoner) |
Modifier and Type | Method and Description |
---|---|
double |
getAccuracyOrTooWeak3(AccMethodThreeValued accuracyMethod,
org.semanticweb.owlapi.model.OWLClassExpression description,
Collection<org.semanticweb.owlapi.model.OWLIndividual> classInstances,
Collection<org.semanticweb.owlapi.model.OWLIndividual> superClassInstances,
Collection<org.semanticweb.owlapi.model.OWLIndividual> negatedClassInstances,
double noise)
Implementations of accuracy calculation for generalised measures according to method in A Note on the Evaluation of Inductive Concept Classification Procedures
|
double |
getAccuracyOrTooWeakExact3(AccMethodThreeValued accuracyMethod,
org.semanticweb.owlapi.model.OWLClassExpression description,
Collection<org.semanticweb.owlapi.model.OWLIndividual> classInstances,
Collection<org.semanticweb.owlapi.model.OWLIndividual> superClassInstances,
Collection<org.semanticweb.owlapi.model.OWLIndividual> negatedClassInstances,
double noise) |
double |
getAccuracyOrTooWeakExact3(AccMethodThreeValued accuracyMethod,
org.semanticweb.owlapi.model.OWLClassExpression description,
Set<org.semanticweb.owlapi.model.OWLIndividual> classInstances,
Set<org.semanticweb.owlapi.model.OWLIndividual> superClassInstances,
Set<org.semanticweb.owlapi.model.OWLIndividual> negatedClassInstances,
double noise) |
ReasoningUtils.Coverage[] |
getCoverageCLP(org.semanticweb.owlapi.model.OWLClassExpression description,
Collection<org.semanticweb.owlapi.model.OWLIndividual> classInstances,
Collection<org.semanticweb.owlapi.model.OWLIndividual> superClassInstances)
get coverage result for class learning problem.
|
protected boolean |
interrupted()
specialisation to indicate that calculation needs to be interrupted
|
getAccuracyOrTooWeak2, getAccuracyOrTooWeakExact2, getCoverage, getCoverage, getCoverage3, getCoverageCount, getCoverageCount, getReasoner, init, makeSet, setReasoner
public ReasoningUtilsCLP(ClassLearningProblem problem, AbstractReasonerComponent reasoner)
problem
- class learning problemreasoner
- reasoner componentprotected boolean interrupted()
interrupted
in class ReasoningUtils
public ReasoningUtils.Coverage[] getCoverageCLP(org.semanticweb.owlapi.model.OWLClassExpression description, Collection<org.semanticweb.owlapi.model.OWLIndividual> classInstances, Collection<org.semanticweb.owlapi.model.OWLIndividual> superClassInstances)
description
- the description to testclassInstances
- instances of the target classsuperClassInstances
- instaces of the superclasspublic double getAccuracyOrTooWeak3(AccMethodThreeValued accuracyMethod, org.semanticweb.owlapi.model.OWLClassExpression description, Collection<org.semanticweb.owlapi.model.OWLIndividual> classInstances, Collection<org.semanticweb.owlapi.model.OWLIndividual> superClassInstances, Collection<org.semanticweb.owlapi.model.OWLIndividual> negatedClassInstances, double noise)
accuracyMethod
- method to usedescription
- description to testclassInstances
- class instances. will be converted to setsuperClassInstances
- superclass instances. will be converted to setnegatedClassInstances
- negated class instances. will be converted to setnoise
- problem noisepublic double getAccuracyOrTooWeakExact3(AccMethodThreeValued accuracyMethod, org.semanticweb.owlapi.model.OWLClassExpression description, Collection<org.semanticweb.owlapi.model.OWLIndividual> classInstances, Collection<org.semanticweb.owlapi.model.OWLIndividual> superClassInstances, Collection<org.semanticweb.owlapi.model.OWLIndividual> negatedClassInstances, double noise)
public double getAccuracyOrTooWeakExact3(AccMethodThreeValued accuracyMethod, org.semanticweb.owlapi.model.OWLClassExpression description, Set<org.semanticweb.owlapi.model.OWLIndividual> classInstances, Set<org.semanticweb.owlapi.model.OWLIndividual> superClassInstances, Set<org.semanticweb.owlapi.model.OWLIndividual> negatedClassInstances, double noise)
Copyright © 2007–2016 AKSW, Department of Computer Science, University of Leipzig. All rights reserved.