|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dllearner.core.configurators.RefinementOperatorConfigurator
org.dllearner.core.configurators.CELOEConfigurator
public class CELOEConfigurator
automatically generated, do not edit manually. run org.dllearner.scripts.ConfigJavaGenerator to update
| Constructor Summary | |
|---|---|
CELOEConfigurator(CELOE cELOE)
|
|
| Method Summary | |
|---|---|
Set<String> |
getAllowedConcepts()
allowedConcepts concepts the algorithm is allowed to use. |
int |
getCardinalityLimit()
cardinalityLimit Gives the maximum number used in cardinality restrictions.. |
static CELOE |
getCELOE(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
|
double |
getExpansionPenaltyFactor()
expansionPenaltyFactor heuristic penalty per syntactic construct used (lower = finds more complex expression, but might miss simple ones). |
boolean |
getFilterDescriptionsFollowingFromKB()
filterDescriptionsFollowingFromKB If true, then the results will not contain suggestions, which already follow logically from the knowledge base. |
Set<String> |
getIgnoredConcepts()
ignoredConcepts concepts the algorithm must ignore. |
boolean |
getInstanceBasedDisjoints()
instanceBasedDisjoints Specifies whether to use real disjointness checks or instance based ones (no common instances) in the refinement operator.. |
int |
getMaxClassDescriptionTests()
maxClassDescriptionTests The maximum number of candidate hypothesis the algorithm is allowed to test (0 = no limit). |
int |
getMaxDepth()
maxDepth maximum depth of description. |
int |
getMaxExecutionTimeInSeconds()
maxExecutionTimeInSeconds algorithm will stop after specified seconds. |
int |
getMaxNrOfResults()
maxNrOfResults Sets the maximum number of results one is interested in. |
double |
getNoisePercentage()
noisePercentage the (approximated) percentage of noise within the examples. |
boolean |
getReplaceSearchTree()
replaceSearchTree specifies whether to replace the search tree in the log file after each run or append the new search tree. |
boolean |
getReuseExistingDescription()
reuseExistingDescription If true, the algorithm tries to find a good starting point close to an existing definition/super class of the given class in the knowledge base.. |
String |
getSearchTreeFile()
searchTreeFile file to use for the search tree. |
boolean |
getSingleSuggestionMode()
singleSuggestionMode Use this if you are interested in only one suggestion and your learning problem has many (more than 1000) examples.. |
boolean |
getTerminateOnNoiseReached()
terminateOnNoiseReached specifies whether to terminate when noise criterion is met. |
boolean |
getUseAllConstructor()
useAllConstructor specifies whether the universal concept constructor is used in the learning algorithm. |
boolean |
getUseBooleanDatatypes()
useBooleanDatatypes specifies whether boolean datatypes are used in the learning algorothm. |
boolean |
getUseCardinalityRestrictions()
useCardinalityRestrictions specifies whether CardinalityRestrictions is used in the learning algorithm. |
boolean |
getUseDataHasValueConstructor()
useDataHasValueConstructor specifies whether the hasValue constructor is used in the learning algorithm in combination with data properties. |
boolean |
getUseDoubleDatatypes()
useDoubleDatatypes specifies whether double datatypes are used in the learning algorothm. |
boolean |
getUseExistsConstructor()
useExistsConstructor specifies whether the existential concept constructor is used in the learning algorithm. |
boolean |
getUseHasValueConstructor()
useHasValueConstructor specifies whether the hasValue constructor is used in the learning algorithm. |
boolean |
getUseNegation()
useNegation specifies whether negation is used in the learning algorothm. |
int |
getValueFrequencyThreshold()
valueFrequencyThreshold specifies how often an object must occur as value in order to be considered for hasValue restrictions. |
boolean |
getWriteSearchTree()
writeSearchTree specifies whether to write a search tree. |
boolean |
isReinitNecessary()
true, if this component needs reinitializsation. |
void |
setAllowedConcepts(Set<String> allowedConcepts)
|
void |
setCardinalityLimit(int cardinalityLimit)
|
void |
setExpansionPenaltyFactor(double expansionPenaltyFactor)
|
void |
setFilterDescriptionsFollowingFromKB(boolean filterDescriptionsFollowingFromKB)
|
void |
setIgnoredConcepts(Set<String> ignoredConcepts)
|
void |
setInstanceBasedDisjoints(boolean instanceBasedDisjoints)
|
void |
setMaxClassDescriptionTests(int maxClassDescriptionTests)
|
void |
setMaxDepth(int maxDepth)
|
void |
setMaxExecutionTimeInSeconds(int maxExecutionTimeInSeconds)
|
void |
setMaxNrOfResults(int maxNrOfResults)
|
void |
setNoisePercentage(double noisePercentage)
|
void |
setReplaceSearchTree(boolean replaceSearchTree)
|
void |
setReuseExistingDescription(boolean reuseExistingDescription)
|
void |
setSearchTreeFile(String searchTreeFile)
|
void |
setSingleSuggestionMode(boolean singleSuggestionMode)
|
void |
setTerminateOnNoiseReached(boolean terminateOnNoiseReached)
|
void |
setUseAllConstructor(boolean useAllConstructor)
|
void |
setUseBooleanDatatypes(boolean useBooleanDatatypes)
|
void |
setUseCardinalityRestrictions(boolean useCardinalityRestrictions)
|
void |
setUseDataHasValueConstructor(boolean useDataHasValueConstructor)
|
void |
setUseDoubleDatatypes(boolean useDoubleDatatypes)
|
void |
setUseExistsConstructor(boolean useExistsConstructor)
|
void |
setUseHasValueConstructor(boolean useHasValueConstructor)
|
void |
setUseNegation(boolean useNegation)
|
void |
setValueFrequencyThreshold(int valueFrequencyThreshold)
|
void |
setWriteSearchTree(boolean writeSearchTree)
|
| Methods inherited from class org.dllearner.core.configurators.RefinementOperatorConfigurator |
|---|
getUseStringDatatypes |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CELOEConfigurator(CELOE cELOE)
cELOE - see CELOE| Method Detail |
|---|
public static CELOE getCELOE(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
throws LearningProblemUnsupportedException
reasoningService - see reasoningServicelearningProblem - see learningProblem
LearningProblemUnsupportedException - seepublic boolean getUseAllConstructor()
getUseAllConstructor in class RefinementOperatorConfiguratorpublic boolean getUseExistsConstructor()
getUseExistsConstructor in class RefinementOperatorConfiguratorpublic boolean getUseHasValueConstructor()
getUseHasValueConstructor in class RefinementOperatorConfiguratorpublic boolean getUseDataHasValueConstructor()
getUseDataHasValueConstructor in class RefinementOperatorConfiguratorpublic int getValueFrequencyThreshold()
getValueFrequencyThreshold in class RefinementOperatorConfiguratorpublic boolean getUseCardinalityRestrictions()
getUseCardinalityRestrictions in class RefinementOperatorConfiguratorpublic int getCardinalityLimit()
getCardinalityLimit in class RefinementOperatorConfiguratorpublic boolean getUseNegation()
getUseNegation in class RefinementOperatorConfiguratorpublic boolean getUseBooleanDatatypes()
getUseBooleanDatatypes in class RefinementOperatorConfiguratorpublic boolean getUseDoubleDatatypes()
getUseDoubleDatatypes in class RefinementOperatorConfiguratorpublic int getMaxExecutionTimeInSeconds()
public double getNoisePercentage()
public boolean getTerminateOnNoiseReached()
public int getMaxDepth()
public int getMaxNrOfResults()
public int getMaxClassDescriptionTests()
public boolean getSingleSuggestionMode()
public boolean getInstanceBasedDisjoints()
getInstanceBasedDisjoints in class RefinementOperatorConfiguratorpublic boolean getFilterDescriptionsFollowingFromKB()
public boolean getReuseExistingDescription()
public boolean getWriteSearchTree()
public String getSearchTreeFile()
public boolean getReplaceSearchTree()
public double getExpansionPenaltyFactor()
public Set<String> getAllowedConcepts()
public Set<String> getIgnoredConcepts()
public void setUseAllConstructor(boolean useAllConstructor)
useAllConstructor - specifies whether the universal concept constructor is used in the learning algorithm.
mandatory: false| reinit necessary: true
default value: truepublic void setUseExistsConstructor(boolean useExistsConstructor)
useExistsConstructor - specifies whether the existential concept constructor is used in the learning algorithm.
mandatory: false| reinit necessary: true
default value: truepublic void setUseHasValueConstructor(boolean useHasValueConstructor)
useHasValueConstructor - specifies whether the hasValue constructor is used in the learning algorithm.
mandatory: false| reinit necessary: true
default value: falsepublic void setUseDataHasValueConstructor(boolean useDataHasValueConstructor)
useDataHasValueConstructor - specifies whether the hasValue constructor is used in the learning algorithm in combination with data properties.
mandatory: false| reinit necessary: true
default value: falsepublic void setValueFrequencyThreshold(int valueFrequencyThreshold)
valueFrequencyThreshold - specifies how often an object must occur as value in order to be considered for hasValue restrictions.
mandatory: false| reinit necessary: true
default value: 3public void setUseCardinalityRestrictions(boolean useCardinalityRestrictions)
useCardinalityRestrictions - specifies whether CardinalityRestrictions is used in the learning algorithm.
mandatory: false| reinit necessary: true
default value: truepublic void setCardinalityLimit(int cardinalityLimit)
cardinalityLimit - Gives the maximum number used in cardinality restrictions..
mandatory: false| reinit necessary: true
default value: 5public void setUseNegation(boolean useNegation)
useNegation - specifies whether negation is used in the learning algorothm.
mandatory: false| reinit necessary: true
default value: falsepublic void setUseBooleanDatatypes(boolean useBooleanDatatypes)
useBooleanDatatypes - specifies whether boolean datatypes are used in the learning algorothm.
mandatory: false| reinit necessary: true
default value: truepublic void setUseDoubleDatatypes(boolean useDoubleDatatypes)
useDoubleDatatypes - specifies whether double datatypes are used in the learning algorothm.
mandatory: false| reinit necessary: true
default value: truepublic void setMaxExecutionTimeInSeconds(int maxExecutionTimeInSeconds)
maxExecutionTimeInSeconds - algorithm will stop after specified seconds.
mandatory: false| reinit necessary: true
default value: 10public void setNoisePercentage(double noisePercentage)
noisePercentage - the (approximated) percentage of noise within the examples.
mandatory: false| reinit necessary: true
default value: 0.0public void setTerminateOnNoiseReached(boolean terminateOnNoiseReached)
terminateOnNoiseReached - specifies whether to terminate when noise criterion is met.
mandatory: false| reinit necessary: true
default value: falsepublic void setMaxDepth(int maxDepth)
maxDepth - maximum depth of description.
mandatory: false| reinit necessary: true
default value: 7public void setMaxNrOfResults(int maxNrOfResults)
maxNrOfResults - Sets the maximum number of results one is interested in. (Setting this to a lower value may increase performance as the learning algorithm has to store/evaluate/beautify less descriptions)..
mandatory: false| reinit necessary: true
default value: 10public void setMaxClassDescriptionTests(int maxClassDescriptionTests)
maxClassDescriptionTests - The maximum number of candidate hypothesis the algorithm is allowed to test (0 = no limit). The algorithm will stop afterwards. (The real number of tests can be slightly higher, because this criterion usually won't be checked after each single test.).
mandatory: false| reinit necessary: true
default value: 0public void setSingleSuggestionMode(boolean singleSuggestionMode)
singleSuggestionMode - Use this if you are interested in only one suggestion and your learning problem has many (more than 1000) examples..
mandatory: false| reinit necessary: true
default value: falsepublic void setInstanceBasedDisjoints(boolean instanceBasedDisjoints)
instanceBasedDisjoints - Specifies whether to use real disjointness checks or instance based ones (no common instances) in the refinement operator..
mandatory: false| reinit necessary: true
default value: truepublic void setFilterDescriptionsFollowingFromKB(boolean filterDescriptionsFollowingFromKB)
filterDescriptionsFollowingFromKB - If true, then the results will not contain suggestions, which already follow logically from the knowledge base. Be careful, since this requires a potentially expensive consistency check for candidate solutions..
mandatory: false| reinit necessary: true
default value: falsepublic void setReuseExistingDescription(boolean reuseExistingDescription)
reuseExistingDescription - If true, the algorithm tries to find a good starting point close to an existing definition/super class of the given class in the knowledge base..
mandatory: false| reinit necessary: true
default value: falsepublic void setWriteSearchTree(boolean writeSearchTree)
writeSearchTree - specifies whether to write a search tree.
mandatory: false| reinit necessary: true
default value: falsepublic void setSearchTreeFile(String searchTreeFile)
searchTreeFile - file to use for the search tree.
mandatory: false| reinit necessary: true
default value: log/searchTree.txtpublic void setReplaceSearchTree(boolean replaceSearchTree)
replaceSearchTree - specifies whether to replace the search tree in the log file after each run or append the new search tree.
mandatory: false| reinit necessary: true
default value: falsepublic void setExpansionPenaltyFactor(double expansionPenaltyFactor)
expansionPenaltyFactor - heuristic penalty per syntactic construct used (lower = finds more complex expression, but might miss simple ones).
mandatory: false| reinit necessary: true
default value: 0.1public void setAllowedConcepts(Set<String> allowedConcepts)
allowedConcepts - concepts the algorithm is allowed to use.
mandatory: false| reinit necessary: true
default value: nullpublic void setIgnoredConcepts(Set<String> ignoredConcepts)
ignoredConcepts - concepts the algorithm must ignore.
mandatory: false| reinit necessary: true
default value: nullpublic boolean isReinitNecessary()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||