|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dllearner.core.configurators.PosNegLPStrictConfigurator
public class PosNegLPStrictConfigurator
automatically generated, do not edit manually. run org.dllearner.scripts.ConfigJavaGenerator to update
| Constructor Summary | |
|---|---|
PosNegLPStrictConfigurator(PosNegLPStrict posNegLPStrict)
|
|
| Method Summary | |
|---|---|
double |
getAccuracyPenalty()
accuracyPenalty penalty for pos/neg examples which are classified as neutral. |
double |
getErrorPenalty()
errorPenalty penalty for pos. examples classified as negative or vice versa. |
Set<String> |
getNegativeExamples()
negativeExamples negative examples. |
boolean |
getPenaliseNeutralExamples()
penaliseNeutralExamples if set to true neutral examples are penalised. |
double |
getPercentPerLenghtUnit()
percentPerLenghtUnit describes the reduction in classification accuracy in percent one is willing to accept for reducing the length of the concept by one. |
Set<String> |
getPositiveExamples()
positiveExamples positive examples. |
static PosNegLPStrict |
getPosNegLPStrict(AbstractReasonerComponent reasoningService,
Set<String> positiveExamples,
Set<String> negativeExamples)
|
String |
getUseMultiInstanceChecks()
useMultiInstanceChecks See UseMultiInstanceChecks enum. - NO LONGER FULLY SUPPORTED.. |
boolean |
getUseRetrievalForClassficiation()
useRetrievalForClassficiation Specifies whether to use retrieval or instance checks for testing a concept. - NO LONGER FULLY SUPPORTED.. |
boolean |
isReinitNecessary()
true, if this component needs reinitializsation. |
void |
setAccuracyPenalty(double accuracyPenalty)
|
void |
setErrorPenalty(double errorPenalty)
|
void |
setNegativeExamples(Set<String> negativeExamples)
|
void |
setPenaliseNeutralExamples(boolean penaliseNeutralExamples)
|
void |
setPercentPerLenghtUnit(double percentPerLenghtUnit)
|
void |
setPositiveExamples(Set<String> positiveExamples)
|
void |
setUseMultiInstanceChecks(String useMultiInstanceChecks)
|
void |
setUseRetrievalForClassficiation(boolean useRetrievalForClassficiation)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PosNegLPStrictConfigurator(PosNegLPStrict posNegLPStrict)
posNegLPStrict - see PosNegLPStrict| Method Detail |
|---|
public static PosNegLPStrict getPosNegLPStrict(AbstractReasonerComponent reasoningService,
Set<String> positiveExamples,
Set<String> negativeExamples)
reasoningService - see reasoningServicepositiveExamples - positive examplesnegativeExamples - negative examples
public Set<String> getPositiveExamples()
public Set<String> getNegativeExamples()
public boolean getUseRetrievalForClassficiation()
public double getPercentPerLenghtUnit()
public String getUseMultiInstanceChecks()
public boolean getPenaliseNeutralExamples()
public double getAccuracyPenalty()
public double getErrorPenalty()
public void setPositiveExamples(Set<String> positiveExamples)
positiveExamples - positive examples.
mandatory: true| reinit necessary: false
default value: nullpublic void setNegativeExamples(Set<String> negativeExamples)
negativeExamples - negative examples.
mandatory: true| reinit necessary: false
default value: nullpublic void setUseRetrievalForClassficiation(boolean useRetrievalForClassficiation)
useRetrievalForClassficiation - Specifies whether to use retrieval or instance checks for testing a concept. - NO LONGER FULLY SUPPORTED..
mandatory: false| reinit necessary: true
default value: falsepublic void setPercentPerLenghtUnit(double percentPerLenghtUnit)
percentPerLenghtUnit - describes the reduction in classification accuracy in percent one is willing to accept for reducing the length of the concept by one.
mandatory: false| reinit necessary: true
default value: 0.05public void setUseMultiInstanceChecks(String useMultiInstanceChecks)
useMultiInstanceChecks - See UseMultiInstanceChecks enum. - NO LONGER FULLY SUPPORTED..
mandatory: false| reinit necessary: true
default value: twoCheckspublic void setPenaliseNeutralExamples(boolean penaliseNeutralExamples)
penaliseNeutralExamples - if set to true neutral examples are penalised.
mandatory: false| reinit necessary: true
default value: nullpublic void setAccuracyPenalty(double accuracyPenalty)
accuracyPenalty - penalty for pos/neg examples which are classified as neutral.
mandatory: false| reinit necessary: true
default value: 1.0public void setErrorPenalty(double errorPenalty)
errorPenalty - penalty for pos. examples classified as negative or vice versa.
mandatory: false| reinit necessary: true
default value: 3.0public boolean isReinitNecessary()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||