public class TDTClassifier extends AbstractTDTClassifier
MAX_NR_OF_RESULTS
Constructor and Description |
---|
TDTClassifier()
Empty constructor for Spring
|
TDTClassifier(AbstractClassExpressionLearningProblem problem,
AbstractReasonerComponent reasoner,
RefinementOperator op) |
Modifier and Type | Method and Description |
---|---|
org.semanticweb.owlapi.model.OWLClassExpression |
deriveDefinition(DLTree model)
Procedure for deriving a concept description from a TDT classifier
|
org.semanticweb.owlapi.model.OWLClassExpression |
getCurrentlyBestDescription() |
EvaluatedDescription |
getCurrentlyBestEvaluatedDescription()
Returns the best descriptions obtained so far.
|
DLTree |
getCurrentmodel() |
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.
|
void |
start()
Starts the algorithm.
|
classify, classifyExample, classifyExample, getClassToDescribe, getHeuristic, getOperator, getPuritythreshold, isBinaryClassification, isCcp, isMissingValueTreatmentForTDT, isRunning, setBinaryClassification, setCcp, setClassToDescribe, setHeuristic, setMissingValueTreatmentForTDT, setOperator, setPuritythreshold, stop
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 TDTClassifier()
public TDTClassifier(AbstractClassExpressionLearningProblem problem, AbstractReasonerComponent reasoner, RefinementOperator op)
public void init() throws ComponentInitException
Component
init
in interface Component
init
in class AbstractTDTClassifier
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 DLTree induceDLTree(SortedSet<org.semanticweb.owlapi.model.OWLIndividual> posExs, SortedSet<org.semanticweb.owlapi.model.OWLIndividual> negExs, SortedSet<org.semanticweb.owlapi.model.OWLIndividual> undExs)
induceDLTree
in class AbstractTDTClassifier
public org.semanticweb.owlapi.model.OWLClassExpression deriveDefinition(DLTree model)
model
- public void start()
LearningAlgorithm
start
in interface LearningAlgorithm
start
in class AbstractTDTClassifier
public org.semanticweb.owlapi.model.OWLClassExpression getCurrentlyBestDescription()
getCurrentlyBestDescription
in class AbstractCELA
AbstractCELA.getCurrentlyBestEvaluatedDescription()
public EvaluatedDescription getCurrentlyBestEvaluatedDescription()
AbstractCELA
getCurrentlyBestEvaluatedDescription
in class AbstractCELA
public DLTree getCurrentmodel()
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann