public class DummyParameterLearner extends AbstractEDGE
AbstractEDGE.PossibleOutputFormat
Constructor and Description |
---|
DummyParameterLearner() |
DummyParameterLearner(ClassLearningProblem lp,
Set<org.semanticweb.owlapi.model.OWLAxiom> targetAxioms) |
Modifier and Type | Method and Description |
---|---|
void |
changeSourcesOntology(org.semanticweb.owlapi.model.OWLOntology ontology) |
org.semanticweb.owlapi.model.OWLOntology |
getLearnedOntology() |
BigDecimal |
getLL()
Get the Log-Likelihood of all the examples/queries.
|
BigDecimal |
getLOGZERO() |
BigDecimal |
getParameter(org.semanticweb.owlapi.model.OWLAxiom ax)
Gets the probabilistic parameter of an axiom
|
Map<String,Long> |
getTimeMap()
Gets the map of the time in milliseconds spent by various algorithms.
|
void |
init()
Method to be called after the component has been configured.
|
void |
reset() |
void |
start()
Starts the algorithm.
|
getAccuracy, getDifferenceLL, getMaxExplanations, getMaxIterations, getMaxNegativeExamples, getMaxPositiveExamples, getNegativeExampleAxioms, getOutputformat, getPositiveExampleAxioms, getRatioLL, getSeed, getSourcesOntology, getTimeout, isRandomize, isRandomizeAll, isShowAll, setAccuracy, setDifferenceLL, setMaxExplanations, setMaxIterations, setMaxNegativeExamples, setMaxPositiveExamples, setNegativeExampleAxioms, setOutputformat, setPositiveExampleAxioms, setProbabilizeAll, setRandomize, setRatioLL, setSeed, setShowAll, setTimeout
getLearningProblem, getTargetAxioms, isRunning, setLearningProblem, setTargetAxioms, stop
public DummyParameterLearner()
public DummyParameterLearner(ClassLearningProblem lp, Set<org.semanticweb.owlapi.model.OWLAxiom> targetAxioms)
public BigDecimal getLL()
getLL
in class AbstractEDGE
public Map<String,Long> getTimeMap()
AbstractParameterLearningAlgorithm
getTimeMap
in class AbstractEDGE
public void init() throws ComponentInitException
Component
init
in interface Component
init
in class AbstractEDGE
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 BigDecimal getParameter(org.semanticweb.owlapi.model.OWLAxiom ax) throws ParameterLearningException
AbstractParameterLearningAlgorithm
getParameter
in class AbstractEDGE
ParameterLearningException
public org.semanticweb.owlapi.model.OWLOntology getLearnedOntology()
getLearnedOntology
in class AbstractEDGE
public void changeSourcesOntology(org.semanticweb.owlapi.model.OWLOntology ontology)
changeSourcesOntology
in class AbstractEDGE
public void reset()
reset
in class AbstractEDGE
public BigDecimal getLOGZERO()
getLOGZERO
in class AbstractEDGE
public void start()
LearningAlgorithm
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann