public abstract class PosNegLP extends AbstractClassExpressionLearningProblem<ScorePosNeg<org.semanticweb.owlapi.model.OWLNamedIndividual>>
Constructor and Description |
---|
PosNegLP() |
PosNegLP(AbstractReasonerComponent reasoningService) |
Modifier and Type | Method and Description |
---|---|
AccMethodTwoValued |
getAccuracyMethod() |
Set<org.semanticweb.owlapi.model.OWLIndividual> |
getNegativeExamples() |
double |
getPercentPerLengthUnit() |
Set<org.semanticweb.owlapi.model.OWLIndividual> |
getPositiveExamples() |
void |
init()
Method to be called after the component has been configured.
|
boolean |
isUseRetrievalForClassification() |
void |
setAccuracyMethod(AccMethodTwoValued accuracyMethod) |
void |
setNegativeExamples(Set<org.semanticweb.owlapi.model.OWLIndividual> set) |
void |
setPercentPerLengthUnit(double percentPerLengthUnit) |
void |
setPositiveExamples(Set<org.semanticweb.owlapi.model.OWLIndividual> set) |
void |
setUseRetrievalForClassification(boolean useRetrievalForClassification) |
changeReasonerComponent, getExampleLoaderHelper, getReasoningUtil, setExampleLoaderHelper, setReasoner, setReasoningUtil
computeScore, computeScore, evaluate, evaluate, getAccuracyOrTooWeak, getAccuracyOrTooWeak, getReasoner
isInitialized
public PosNegLP()
public PosNegLP(AbstractReasonerComponent reasoningService)
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 Set<org.semanticweb.owlapi.model.OWLIndividual> getNegativeExamples()
public Set<org.semanticweb.owlapi.model.OWLIndividual> getPositiveExamples()
public void setNegativeExamples(Set<org.semanticweb.owlapi.model.OWLIndividual> set)
public void setPositiveExamples(Set<org.semanticweb.owlapi.model.OWLIndividual> set)
public double getPercentPerLengthUnit()
public void setPercentPerLengthUnit(double percentPerLengthUnit)
public boolean isUseRetrievalForClassification()
public void setUseRetrievalForClassification(boolean useRetrievalForClassification)
public AccMethodTwoValued getAccuracyMethod()
@Autowired(required=false) public void setAccuracyMethod(AccMethodTwoValued accuracyMethod)
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann