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, setTimeoutgetLearningProblem, getTargetAxioms, isRunning, setLearningProblem, setTargetAxioms, stoppublic DummyParameterLearner()
public DummyParameterLearner(ClassLearningProblem lp, Set<org.semanticweb.owlapi.model.OWLAxiom> targetAxioms)
public BigDecimal getLL()
getLL in class AbstractEDGEpublic Map<String,Long> getTimeMap()
AbstractParameterLearningAlgorithmgetTimeMap in class AbstractEDGEpublic void init() throws ComponentInitException
Componentinit in interface Componentinit in class AbstractEDGEComponentInitException - 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
AbstractParameterLearningAlgorithmgetParameter in class AbstractEDGEParameterLearningExceptionpublic org.semanticweb.owlapi.model.OWLOntology getLearnedOntology()
getLearnedOntology in class AbstractEDGEpublic void changeSourcesOntology(org.semanticweb.owlapi.model.OWLOntology ontology)
changeSourcesOntology in class AbstractEDGEpublic void reset()
reset in class AbstractEDGEpublic BigDecimal getLOGZERO()
getLOGZERO in class AbstractEDGEpublic void start()
LearningAlgorithm
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann