Modifier and Type | Field and Description |
---|---|
protected List<Rule> |
InferenceApplication.rules |
Modifier and Type | Method and Description |
---|---|
static InferenceApplication |
InferenceApplication.getInferenceApplication(String className,
List<Rule> rules,
Database db)
Construct an inference application given the data.
|
Constructor and Description |
---|
InferenceApplication(List<Rule> rules,
Database db) |
InferenceApplication(List<Rule> rules,
Database db,
boolean relaxHardConstraints) |
Constructor and Description |
---|
ADMMInference(List<Rule> rules,
Database db) |
DCDInference(List<Rule> rules,
Database db) |
DCDStreamingInference(List<Rule> rules,
Database db) |
LazyMPEInference(List<Rule> rules,
Database db) |
MPEInference(List<Rule> rules,
Database db) |
MPEInference(List<Rule> rules,
Database db,
boolean relaxHardConstraints) |
SGDInference(List<Rule> rules,
Database db) |
SGDStreamingInference(List<Rule> rules,
Database db) |
Modifier and Type | Field and Description |
---|---|
protected List<Rule> |
WeightLearningApplication.allRules |
Modifier and Type | Method and Description |
---|---|
static WeightLearningApplication |
WeightLearningApplication.getWLA(String name,
List<Rule> rules,
Database randomVariableDatabase,
Database observedTruthDatabase)
Construct a weight learning application given the data.
|
Constructor and Description |
---|
VotedPerceptron(List<Rule> rules,
Database rvDB,
Database observedDB) |
WeightLearningApplication(List<Rule> rules,
Database rvDB,
Database observedDB) |
Constructor and Description |
---|
GaussianProcessPrior(List<Rule> rules,
Database rvDB,
Database observedDB) |
Constructor and Description |
---|
MaxLikelihoodMPE(List<Rule> rules,
Database rvDB,
Database observedDB) |
MaxPiecewisePseudoLikelihood(List<Rule> rules,
Database rvDB,
Database observedDB) |
Constructor and Description |
---|
Hyperband(List<Rule> rules,
Database rvDB,
Database observedDB) |
InitialWeightHyperband(List<Rule> rules,
Database rvDB,
Database observedDB) |
Constructor and Description |
---|
BaseGridSearch(List<Rule> rules,
Database rvDB,
Database observedDB) |
ContinuousRandomGridSearch(List<Rule> rules,
Database rvDB,
Database observedDB) |
GridSearch(List<Rule> rules,
Database rvDB,
Database observedDB) |
GuidedRandomGridSearch(List<Rule> rules,
Database rvDB,
Database observedDB) |
InitialWeightGridSearch(List<Rule> rules,
WeightLearningApplication internalWLA,
Database rvDB,
Database observedDB)
The WeightLearningApplication should not have had initGroundModel() called yet.
|
InitialWeightRandomGridSearch(List<Rule> rules,
WeightLearningApplication internalWLA,
Database rvDB,
Database observedDB) |
InitialWeightRankSearch(List<Rule> rules,
Database rvDB,
Database observedDB) |
InitialWeightRankSearch(List<Rule> rules,
WeightLearningApplication internalWLA,
Database rvDB,
Database observedDB)
The WeightLearningApplication should not have had initGroundModel() called yet.
|
RandomGridSearch(List<Rule> rules,
Database rvDB,
Database observedDB) |
RankSearch(List<Rule> rules,
Database rvDB,
Database observedDB) |
Modifier and Type | Method and Description |
---|---|
int |
LazyAtomManager.activateAtoms(List<Rule> rules,
GroundRuleStore groundRuleStore)
Activate any lazy atoms above the threshold.
|
int |
LazyAtomManager.activateAtoms(Set<RandomVariableAtom> atoms,
List<Rule> rules,
GroundRuleStore groundRuleStore)
Activate a specific set of lazy atoms.
|
Modifier and Type | Method and Description |
---|---|
int |
GroundRuleStore.count(Rule rule) |
int |
MemoryGroundRuleStore.count(Rule rule)
O(n).
|
Iterable<GroundRule> |
GroundRuleStore.getGroundRules(Rule rule)
Returns every GroundRule that was instantiated by a given Rule.
|
Iterable<GroundRule> |
MemoryGroundRuleStore.getGroundRules(Rule rule) |
void |
GroundRuleStore.removeGroundRules(Rule rule)
Removes all GroundRules that was instantiated by a given rule.
|
void |
MemoryGroundRuleStore.removeGroundRules(Rule rule)
O(n).
|
Modifier and Type | Method and Description |
---|---|
static int |
Grounding.groundAll(List<Rule> rules,
AtomManager atomManager,
GroundRuleStore groundRuleStore)
Ground all the given rules.
|
static int |
Grounding.groundAllSerial(List<Rule> rules,
AtomManager atomManager,
GroundRuleStore groundRuleStore)
Ground all the given rules one at a time.
|
Modifier and Type | Field and Description |
---|---|
protected List<Rule> |
Model.rules |
Modifier and Type | Method and Description |
---|---|
List<Rule> |
Model.getRules() |
Modifier and Type | Method and Description |
---|---|
void |
Model.addRule(Rule rule)
Adds a Rule to this Model.
|
void |
Model.removeRule(Rule rule)
Removes a Rule from this Model.
|
Modifier and Type | Interface and Description |
---|---|
interface |
UnweightedRule
A template for
UnweightedGroundRules ,
which constrain the values that GroundAtoms can take. |
interface |
WeightedRule |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRule
Base class for all (first order, i.e., not ground) rules.
|
Modifier and Type | Method and Description |
---|---|
Rule |
GroundRule.getRule() |
Modifier and Type | Method and Description |
---|---|
List<Rule> |
AbstractRule.split() |
List<Rule> |
Rule.split()
Split this rule into multiple rules.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractArithmeticRule
Base class for all (first order, i.e., not ground) arithmetic rules.
|
class |
UnweightedArithmeticRule
A template for
UnweightedGroundArithmeticRules . |
class |
WeightedArithmeticRule |
Modifier and Type | Method and Description |
---|---|
Rule |
AbstractGroundArithmeticRule.getRule() |
Modifier and Type | Method and Description |
---|---|
List<Rule> |
AbstractArithmeticRule.split() |
Modifier and Type | Class and Description |
---|---|
class |
AbstractLogicalRule
Base class for all (first order, i.e., not ground) logical rules.
|
class |
UnweightedLogicalRule |
class |
WeightedLogicalRule |
Modifier and Type | Method and Description |
---|---|
protected boolean |
DCDStreamingTermStore.supportsRule(Rule rule) |
Constructor and Description |
---|
DCDStreamingTermStore(List<Rule> rules,
AtomManager atomManager) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
SGDStreamingTermStore.supportsRule(Rule rule) |
Constructor and Description |
---|
SGDStreamingTermStore(List<Rule> rules,
AtomManager atomManager) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
StreamingTermStore.supportsRule(Rule rule)
Check if this term store supports this rule.
|
Constructor and Description |
---|
StreamingTermStore(List<Rule> rules,
AtomManager atomManager,
HyperplaneTermGenerator<T,RandomVariableAtom> termGenerator) |
Copyright © 2020 University of California, Santa Cruz. All rights reserved.