public class PosNegUndLP extends PosNegLPStandard implements Cloneable
Constructor and Description |
---|
PosNegUndLP() |
PosNegUndLP(AbstractReasonerComponent reasoner) |
PosNegUndLP(AbstractReasonerComponent reasoningService,
SortedSet<org.semanticweb.owlapi.model.OWLIndividual> positiveExamples,
SortedSet<org.semanticweb.owlapi.model.OWLIndividual> negativeExamples,
SortedSet<org.semanticweb.owlapi.model.OWLIndividual> uncertainExamples) |
Modifier and Type | Method and Description |
---|---|
Set<org.semanticweb.owlapi.model.OWLIndividual> |
getNegativeExamples() |
Set<org.semanticweb.owlapi.model.OWLIndividual> |
getPositiveExamples() |
PosNegLP |
getPosNegLP()
A method for binarizing a ternary learning problem.
|
Set<org.semanticweb.owlapi.model.OWLIndividual> |
getUncertainExamples() |
void |
init()
Method to be called after the component has been configured.
|
void |
setUncertainExamples(Set<org.semanticweb.owlapi.model.OWLIndividual> uncertainExample) |
clone, computeScore, evaluate, getAccuracyOrTooWeak
getAccuracyMethod, getPercentPerLengthUnit, isUseRetrievalForClassification, setAccuracyMethod, setNegativeExamples, setPercentPerLengthUnit, setPositiveExamples, setUseRetrievalForClassification
changeReasonerComponent, getExampleLoaderHelper, getReasoningUtil, setExampleLoaderHelper, setReasoner, setReasoningUtil
computeScore, evaluate, getAccuracyOrTooWeak, getReasoner
isInitialized
public PosNegUndLP()
public PosNegUndLP(AbstractReasonerComponent reasoner)
public PosNegUndLP(AbstractReasonerComponent reasoningService, SortedSet<org.semanticweb.owlapi.model.OWLIndividual> positiveExamples, SortedSet<org.semanticweb.owlapi.model.OWLIndividual> negativeExamples, SortedSet<org.semanticweb.owlapi.model.OWLIndividual> uncertainExamples)
public Set<org.semanticweb.owlapi.model.OWLIndividual> getPositiveExamples()
getPositiveExamples
in class PosNegLP
public Set<org.semanticweb.owlapi.model.OWLIndividual> getNegativeExamples()
getNegativeExamples
in class PosNegLP
public Set<org.semanticweb.owlapi.model.OWLIndividual> getUncertainExamples()
public void setUncertainExamples(Set<org.semanticweb.owlapi.model.OWLIndividual> uncertainExample)
public void init() throws ComponentInitException
Component
init
in interface Component
init
in class PosNegLPStandard
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 PosNegLP getPosNegLP()
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann