public class ExistentialRulesHeadVariablesMiningAssistant 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 |
|---|
ExistentialRulesHeadVariablesMiningAssistant(KB dataSource) |
| Modifier and Type | Method and Description |
|---|---|
void |
calculateConfidenceMetrics(Rule candidate)
It computes the standard and the PCA confidence of a given rule.
|
java.lang.String |
getDescription()
Brief description of the MiningAssistant capabilities.
|
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.
|
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, setBodyExcludedRelations, setConfidenceMetric, setCountAlwaysOnSubject, setEnabledConfidenceUpperBounds, setEnabledFunctionalityHeuristic, setEnablePerfectRules, setEnableQueryRewriting, setEnforceConstants, setExploitMaxLengthOption, setHeadExcludedRelations, setKbSchema, setMaxDepth, setPcaConfidenceThreshold, setRecursivityLimit, setStdConfidenceThreshold, setTargetBodyRelations, setVerbose, testLengthpublic ExistentialRulesHeadVariablesMiningAssistant(KB dataSource)
public java.lang.String getDescription()
MiningAssistantgetDescription in class DefaultMiningAssistantpublic void calculateConfidenceMetrics(Rule candidate)
MiningAssistantcalculateConfidenceMetrics in class DefaultMiningAssistantpublic boolean testConfidenceThresholds(Rule candidate)
MiningAssistanttestConfidenceThresholds in class MiningAssistant