public class RelationSignatureDefaultMiningAssistant extends DefaultMiningAssistant
hardQueriesallowConstants, avoidUnboundTypeAtoms, bodyExcludedRelations, bodyTargetRelations, confidenceMetric, countAlwaysOnSubject, enabledConfidenceUpperBounds, enabledFunctionalityHeuristic, enablePerfectRules, enableQueryRewriting, enforceConstants, exploitMaxLengthOption, headCardinalities, headExcludedRelations, kb, kbSchema, maxDepth, minPcaConfidence, minStdConfidence, recursivityLimit, subPropertyString, totalObjectCount, totalSubjectCount, typeString, verbose| Constructor and Description |
|---|
RelationSignatureDefaultMiningAssistant(KB dataSource) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Brief description of the MiningAssistant capabilities.
|
void |
setBodyExcludedRelations(java.util.Collection<javatools.datatypes.ByteString> excludedRelations) |
void |
setHeadExcludedRelations(java.util.Collection<javatools.datatypes.ByteString> headExcludedRelations) |
boolean |
testConfidenceThresholds(Rule candidate)
It checks whether a rule satisfies the confidence thresholds and the
sky-line heuristic: the strategy that avoids outputting rules that do not
improve the confidence w.r.t their parents.
|
calculateConfidenceMetrics, computeBodySize, computeCardinality, computePcaBodySize, computePCAConfidence, computeStandardConfidence, containsHardCase, getClosingAtoms, getDanglingAtoms, getDanglingAtoms, getInitialAtoms, getInitialAtomsFromSeeds, getInstantiatedAtoms, getTotalCount, main, rewriteProjectionQuerybuildInitialQueries, calculateConfidenceApproximationFor3Atoms, calculateConfidenceApproximationForGeneralCase, calculateConfidenceBoundsAndApproximations, canAddInstantiatedAtoms, findCountingVariable, getBodyExcludedRelations, getBodyTargetRelations, getConfidenceMetric, getFactsCount, getHeadCardinality, getHeadExcludedRelations, getInstantiatedAtoms, getKb, getKbSchema, getMaxDepth, getMinConfidence, getPcaConfidenceThreshold, getRecursivityLimit, getRelationCardinality, getRelationCardinality, getSubClasses, getTotalCount, getTotalObjectCount, getTotalSubjectCount, isAvoidUnboundTypeAtoms, isEnabledConfidenceUpperBounds, isEnabledFunctionalityHeuristic, isEnablePerfectRules, isEnableQueryRewriting, isEnforceConstants, isExploitMaxLengthOption, isVerbose, registerHeadRelation, setAllowConstants, setAvoidUnboundTypeAtoms, setConfidenceMetric, setCountAlwaysOnSubject, setEnabledConfidenceUpperBounds, setEnabledFunctionalityHeuristic, setEnablePerfectRules, setEnableQueryRewriting, setEnforceConstants, setExploitMaxLengthOption, setKbSchema, setMaxDepth, setPcaConfidenceThreshold, setRecursivityLimit, setStdConfidenceThreshold, setTargetBodyRelations, setVerbose, testLengthpublic RelationSignatureDefaultMiningAssistant(KB dataSource)
dataSource - public java.lang.String getDescription()
MiningAssistantgetDescription in class DefaultMiningAssistantpublic void setHeadExcludedRelations(java.util.Collection<javatools.datatypes.ByteString> headExcludedRelations)
setHeadExcludedRelations in class MiningAssistantpublic void setBodyExcludedRelations(java.util.Collection<javatools.datatypes.ByteString> excludedRelations)
setBodyExcludedRelations in class MiningAssistantpublic boolean testConfidenceThresholds(Rule candidate)
MiningAssistanttestConfidenceThresholds in class MiningAssistant