public class DSTTDTClassifier extends AbstractCELA
MAX_NR_OF_RESULTS
Constructor and Description |
---|
DSTTDTClassifier() |
DSTTDTClassifier(AbstractClassExpressionLearningProblem problem,
AbstractReasonerComponent reasoner) |
Modifier and Type | Method and Description |
---|---|
int |
classifyExamplesDST(org.semanticweb.owlapi.model.OWLIndividual indTestEx,
DSTDLTree tree) |
MassFunction<Integer> |
getBBA(org.semanticweb.owlapi.model.OWLIndividual indTestEx,
EvidentialModel tree) |
int |
getBeam() |
org.semanticweb.owlapi.model.OWLClassExpression |
getClassToDescribe() |
org.semanticweb.owlapi.model.OWLClassExpression |
getCurrentlyBestDescription() |
EvaluatedDescription |
getCurrentlyBestEvaluatedDescription()
Returns the best descriptions obtained so far.
|
DSTDLTree |
getCurrentmodel() |
TreeInductionHeuristics |
getHeuristic() |
RefinementOperator |
getOperator() |
double |
getPuritythreshold() |
DSTDLTree |
induceDSTDLTree(SortedSet<org.semanticweb.owlapi.model.OWLIndividual> posExs,
SortedSet<org.semanticweb.owlapi.model.OWLIndividual> negExs,
SortedSet<org.semanticweb.owlapi.model.OWLIndividual> undExs) |
void |
init()
Method to be called after the component has been configured.
|
boolean |
isNonSpecifityControl() |
boolean |
isRunning()
Returns whether the learning algorithm is running.
|
void |
setBeam(int beam) |
void |
setClassToDescribe(org.semanticweb.owlapi.model.OWLClassExpression classToDescribe) |
void |
setCurrentmodel(DSTDLTree currentmodel) |
void |
setHeuristic(TreeInductionHeuristics heuristic) |
void |
setNonSpecifityControl(boolean nonSpecifityControl) |
void |
setOperator(RefinementOperator operator) |
void |
setPuritythreshold(double puritythreshold) |
void |
start()
Starts the algorithm.
|
void |
stop()
Stops the algorithm gracefully.
|
changeLearningProblem, changeReasonerComponent, getAllowedConcepts, getAllowedDataProperties, getAllowedObjectProperties, getCurrentlyBestDescriptions, getCurrentlyBestDescriptions, getCurrentlyBestDescriptions, getCurrentlyBestEvaluatedDescriptions, getCurrentlyBestEvaluatedDescriptions, getCurrentlyBestEvaluatedDescriptions, getCurrentlyBestEvaluatedDescriptions, getCurrentlyBestMostGeneralEvaluatedDescriptions, getIgnoredConcepts, getIgnoredDataProperties, getIgnoredObjectProperties, getLearningProblem, getMaxExecutionTimeInSeconds, getReasoner, isUseMinimizer, setAllowedConcepts, setAllowedDataProperties, setAllowedObjectProperties, setIgnoredConcepts, setIgnoredDataProperties, setIgnoredObjectProperties, setLearningProblem, setMaxExecutionTime, setMaxExecutionTimeInSeconds, setReasoner, setRenderer, setUseMinimizer, supportedLearningProblems
isInitialized
public DSTTDTClassifier()
public DSTTDTClassifier(AbstractClassExpressionLearningProblem problem, AbstractReasonerComponent reasoner)
public boolean isNonSpecifityControl()
public void setNonSpecifityControl(boolean nonSpecifityControl)
public double getPuritythreshold()
public void setPuritythreshold(double puritythreshold)
public int getBeam()
public void setBeam(int beam)
public org.semanticweb.owlapi.model.OWLClassExpression getClassToDescribe()
public void setClassToDescribe(org.semanticweb.owlapi.model.OWLClassExpression classToDescribe)
public TreeInductionHeuristics getHeuristic()
public void setHeuristic(TreeInductionHeuristics heuristic)
public RefinementOperator getOperator()
public void setOperator(RefinementOperator operator)
public void init() throws ComponentInitException
Component
ComponentInitException
- This exception is thrown if any
exceptions occur within the initialisation process of this
component. As component developer, you are encouraged to
re-throw occurring exception as ComponentInitException and
giving an error message as well as the actually exception by
using the constructor ComponentInitException(String, Throwable)
.public DSTDLTree induceDSTDLTree(SortedSet<org.semanticweb.owlapi.model.OWLIndividual> posExs, SortedSet<org.semanticweb.owlapi.model.OWLIndividual> negExs, SortedSet<org.semanticweb.owlapi.model.OWLIndividual> undExs)
public DSTDLTree getCurrentmodel()
public void setCurrentmodel(DSTDLTree currentmodel)
public int classifyExamplesDST(org.semanticweb.owlapi.model.OWLIndividual indTestEx, DSTDLTree tree)
public MassFunction<Integer> getBBA(org.semanticweb.owlapi.model.OWLIndividual indTestEx, EvidentialModel tree)
public void start()
LearningAlgorithm
public void stop()
StoppableLearningAlgorithm
stop
in interface StoppableLearningAlgorithm
stop
in class AbstractCELA
public boolean isRunning()
StoppableLearningAlgorithm
isRunning
in interface StoppableLearningAlgorithm
isRunning
in class AbstractCELA
public org.semanticweb.owlapi.model.OWLClassExpression getCurrentlyBestDescription()
getCurrentlyBestDescription
in class AbstractCELA
AbstractCELA.getCurrentlyBestEvaluatedDescription()
public EvaluatedDescription getCurrentlyBestEvaluatedDescription()
AbstractCELA
getCurrentlyBestEvaluatedDescription
in class AbstractCELA
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann