public abstract class AbstractTDTClassifier extends AbstractCELA
MAX_NR_OF_RESULTS
Constructor and Description |
---|
AbstractTDTClassifier() |
AbstractTDTClassifier(AbstractClassExpressionLearningProblem problem,
AbstractReasonerComponent reasoner,
RefinementOperator op) |
Modifier and Type | Method and Description |
---|---|
int |
classify(org.semanticweb.owlapi.model.OWLIndividual indTestEx,
DLTree trees) |
int |
classifyExample(List<Integer> list,
org.semanticweb.owlapi.model.OWLIndividual indTestEx,
DLTree tree)
Alternative exploration of a Tree classifier for DL ontology
|
int |
classifyExample(org.semanticweb.owlapi.model.OWLIndividual indTestEx,
DLTree tree) |
org.semanticweb.owlapi.model.OWLClassExpression |
getClassToDescribe() |
TreeInductionHeuristics |
getHeuristic() |
RefinementOperator |
getOperator() |
double |
getPuritythreshold() |
abstract DLTree |
induceDLTree(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 |
isBinaryClassification() |
boolean |
isCcp() |
boolean |
isMissingValueTreatmentForTDT() |
boolean |
isRunning()
Returns whether the learning algorithm is running.
|
void |
setBinaryClassification(boolean binaryClassification) |
void |
setCcp(boolean ccp) |
void |
setClassToDescribe(org.semanticweb.owlapi.model.OWLClassExpression classToDescribe) |
void |
setHeuristic(TreeInductionHeuristics heuristic) |
void |
setMissingValueTreatmentForTDT(boolean missingValueTreatmentForTDT) |
void |
setOperator(RefinementOperator operator) |
void |
setPuritythreshold(double puritythreshold) |
void |
start()
Starts the algorithm.
|
void |
stop()
Stops the algorithm gracefully.
|
changeLearningProblem, changeReasonerComponent, getAllowedConcepts, getAllowedDataProperties, getAllowedObjectProperties, getCurrentlyBestDescription, getCurrentlyBestDescriptions, getCurrentlyBestDescriptions, getCurrentlyBestDescriptions, getCurrentlyBestEvaluatedDescription, 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 AbstractTDTClassifier(AbstractClassExpressionLearningProblem problem, AbstractReasonerComponent reasoner, RefinementOperator op)
public AbstractTDTClassifier()
public double getPuritythreshold()
public void setPuritythreshold(double puritythreshold)
public boolean isBinaryClassification()
public void setBinaryClassification(boolean binaryClassification)
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 boolean isCcp()
public void setCcp(boolean ccp)
public boolean isMissingValueTreatmentForTDT()
public void setMissingValueTreatmentForTDT(boolean missingValueTreatmentForTDT)
public void start()
LearningAlgorithm
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 void stop()
StoppableLearningAlgorithm
stop
in interface StoppableLearningAlgorithm
stop
in class AbstractCELA
public boolean isRunning()
StoppableLearningAlgorithm
isRunning
in interface StoppableLearningAlgorithm
isRunning
in class AbstractCELA
public abstract DLTree induceDLTree(SortedSet<org.semanticweb.owlapi.model.OWLIndividual> posExs, SortedSet<org.semanticweb.owlapi.model.OWLIndividual> negExs, SortedSet<org.semanticweb.owlapi.model.OWLIndividual> undExs)
public int classifyExample(org.semanticweb.owlapi.model.OWLIndividual indTestEx, DLTree tree)
public int classifyExample(List<Integer> list, org.semanticweb.owlapi.model.OWLIndividual indTestEx, DLTree tree)
list
- indTestEx
- tree
- DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann