Modifier and Type | Method and Description |
---|---|
Iterable<RandomVariableAtom> |
TrainingMap.getAllPredictions()
Get all the predictions (unobserved targets).
|
Map<RandomVariableAtom,ObservedAtom> |
TrainingMap.getLabelMap()
Get the mapping of unobserved targets to truth atoms.
|
List<RandomVariableAtom> |
TrainingMap.getLatentVariables()
Gets the latent variables (unobserved targets without a truth atom).
|
Modifier and Type | Method and Description |
---|---|
Iterable<RandomVariableAtom> |
ReadableDatabase.getAllCachedRandomVariableAtoms()
Fetch all the RandomVariableAtoms in this database's cache.
|
Iterable<RandomVariableAtom> |
Database.getAllCachedRandomVariableAtoms() |
List<RandomVariableAtom> |
ReadableDatabase.getAllGroundRandomVariableAtoms(StandardPredicate predicate)
Fetch all the ground RandomVariableAtoms for a predicate.
|
List<RandomVariableAtom> |
Database.getAllGroundRandomVariableAtoms(StandardPredicate predicate) |
Modifier and Type | Method and Description |
---|---|
void |
WritableDatabase.commit(RandomVariableAtom atom)
Persists a RandomVariableAtom in this Database's write Partition.
|
void |
Database.commit(RandomVariableAtom atom) |
Modifier and Type | Method and Description |
---|---|
void |
WritableDatabase.commit(Iterable<RandomVariableAtom> atoms)
A batch form or commit().
|
void |
WritableDatabase.commit(Iterable<RandomVariableAtom> atoms,
int partitionId)
A form of commit() that allows the caller to choose the specific partition
the atoms are comitted to.
|
Modifier and Type | Field and Description |
---|---|
RandomVariableAtom |
PersistedAtomManager.PersistedAccessException.atom |
Modifier and Type | Method and Description |
---|---|
RandomVariableAtom |
AtomCache.instantiateRandomVariableAtom(StandardPredicate predicate,
Constant[] args,
float value)
Instantiates a RandomVariableAtom and stores it in this AtomCache.
|
Modifier and Type | Method and Description |
---|---|
Iterable<RandomVariableAtom> |
AtomCache.getCachedRandomVariableAtoms() |
Set<RandomVariableAtom> |
LazyAtomManager.getLazyAtoms() |
Iterable<RandomVariableAtom> |
PersistedAtomManager.getPersistedRVAtoms() |
Modifier and Type | Method and Description |
---|---|
int |
LazyAtomManager.activateAtoms(Set<RandomVariableAtom> atoms,
List<Rule> rules,
GroundRuleStore groundRuleStore)
Activate a specific set of lazy atoms.
|
protected void |
PersistedAtomManager.addToPersistedCache(Set<RandomVariableAtom> atoms) |
Constructor and Description |
---|
PersistedAccessException(RandomVariableAtom atom) |
Modifier and Type | Method and Description |
---|---|
void |
RDBMSDatabase.commit(Iterable<RandomVariableAtom> atoms) |
void |
RDBMSDatabase.commit(Iterable<RandomVariableAtom> atoms,
int partitionId) |
Modifier and Type | Method and Description |
---|---|
protected String |
SupportingModel.getAtomIdentifier(RandomVariableAtom atom,
int[] argumentIndexes) |
protected SupportingModel.AtomIndexes |
SupportingModel.getAtomIndexes(RandomVariableAtom atom) |
protected int |
SupportingModel.getEntityIndex(RandomVariableAtom atom) |
protected int |
SupportingModel.getLabelIndex(RandomVariableAtom atom) |
float |
ModelPredicate.getValue(RandomVariableAtom atom) |
float |
SupportingModel.getValue(RandomVariableAtom atom) |
abstract float |
SupportingModel.getValue(RandomVariableAtom atom,
int entityIndex,
int labelIndex)
Get the value for the specified atom.
|
void |
ModelPredicate.setLabel(RandomVariableAtom atom,
float label) |
void |
SupportingModel.setLabel(RandomVariableAtom atom,
float labelValue) |
Modifier and Type | Method and Description |
---|---|
Map<RandomVariableAtom,Integer> |
ADMMTermStore.getGlobalVariables()
Get the RVAs managed by this term store.
|
Modifier and Type | Method and Description |
---|---|
LocalVariable |
ADMMTermStore.createLocalVariable(RandomVariableAtom atom)
Create a local variable and ensure that a global copy is registered.
|
Modifier and Type | Method and Description |
---|---|
protected RandomVariableAtom |
DCDMemoryTermStore.convertAtomToVariable(RandomVariableAtom atom) |
Modifier and Type | Method and Description |
---|---|
Class<RandomVariableAtom> |
DCDTermGenerator.getLocalVariableType() |
Modifier and Type | Method and Description |
---|---|
protected RandomVariableAtom |
DCDMemoryTermStore.convertAtomToVariable(RandomVariableAtom atom) |
Modifier and Type | Method and Description |
---|---|
DCDObjectiveTerm |
DCDTermGenerator.createLinearConstraintTerm(TermStore<DCDObjectiveTerm,RandomVariableAtom> termStore,
GroundRule groundRule,
Hyperplane<RandomVariableAtom> hyperplane,
FunctionComparator comparator) |
DCDObjectiveTerm |
DCDTermGenerator.createLinearConstraintTerm(TermStore<DCDObjectiveTerm,RandomVariableAtom> termStore,
GroundRule groundRule,
Hyperplane<RandomVariableAtom> hyperplane,
FunctionComparator comparator) |
DCDObjectiveTerm |
DCDTermGenerator.createLossTerm(TermStore<DCDObjectiveTerm,RandomVariableAtom> baseTermStore,
boolean isHinge,
boolean isSquared,
GroundRule groundRule,
Hyperplane<RandomVariableAtom> hyperplane) |
DCDObjectiveTerm |
DCDTermGenerator.createLossTerm(TermStore<DCDObjectiveTerm,RandomVariableAtom> baseTermStore,
boolean isHinge,
boolean isSquared,
GroundRule groundRule,
Hyperplane<RandomVariableAtom> hyperplane) |
Constructor and Description |
---|
DCDObjectiveTerm(VariableTermStore<DCDObjectiveTerm,RandomVariableAtom> termStore,
boolean squared,
Hyperplane<RandomVariableAtom> hyperplane,
float weight,
float c) |
DCDObjectiveTerm(VariableTermStore<DCDObjectiveTerm,RandomVariableAtom> termStore,
boolean squared,
Hyperplane<RandomVariableAtom> hyperplane,
float weight,
float c) |
DCDStreamingInitialRoundIterator(DCDStreamingTermStore parentStore,
List<WeightedRule> rules,
AtomManager atomManager,
HyperplaneTermGenerator<DCDObjectiveTerm,RandomVariableAtom> termGenerator,
List<DCDObjectiveTerm> termCache,
List<DCDObjectiveTerm> termPool,
ByteBuffer termBuffer,
ByteBuffer volatileBuffer,
int pageSize) |
Modifier and Type | Method and Description |
---|---|
float |
SGDReasoner.computeObjective(VariableTermStore<SGDObjectiveTerm,RandomVariableAtom> termStore) |
Modifier and Type | Method and Description |
---|---|
protected RandomVariableAtom |
SGDMemoryTermStore.convertAtomToVariable(RandomVariableAtom atom) |
Modifier and Type | Method and Description |
---|---|
Class<RandomVariableAtom> |
SGDTermGenerator.getLocalVariableType() |
Modifier and Type | Method and Description |
---|---|
protected RandomVariableAtom |
SGDMemoryTermStore.convertAtomToVariable(RandomVariableAtom atom) |
Constructor and Description |
---|
SGDObjectiveTerm(VariableTermStore<SGDObjectiveTerm,RandomVariableAtom> termStore,
boolean squared,
boolean hinge,
Hyperplane<RandomVariableAtom> hyperplane,
float weight,
float learningRate) |
SGDObjectiveTerm(VariableTermStore<SGDObjectiveTerm,RandomVariableAtom> termStore,
boolean squared,
boolean hinge,
Hyperplane<RandomVariableAtom> hyperplane,
float weight,
float learningRate) |
SGDStreamingInitialRoundIterator(SGDStreamingTermStore parentStore,
List<WeightedRule> rules,
AtomManager atomManager,
HyperplaneTermGenerator<SGDObjectiveTerm,RandomVariableAtom> termGenerator,
List<SGDObjectiveTerm> termCache,
List<SGDObjectiveTerm> termPool,
ByteBuffer termBuffer,
ByteBuffer volatileBuffer,
int pageSize) |
Modifier and Type | Method and Description |
---|---|
RandomVariableAtom |
MemoryTermStore.createLocalVariable(RandomVariableAtom atom) |
Modifier and Type | Method and Description |
---|---|
protected abstract V |
MemoryVariableTermStore.convertAtomToVariable(RandomVariableAtom atom) |
V |
MemoryVariableTermStore.createLocalVariable(RandomVariableAtom atom) |
RandomVariableAtom |
MemoryTermStore.createLocalVariable(RandomVariableAtom atom) |
V |
TermStore.createLocalVariable(RandomVariableAtom atom)
Create a variable local to a specific term.
|
Modifier and Type | Field and Description |
---|---|
protected HyperplaneTermGenerator<T,RandomVariableAtom> |
StreamingTermStore.termGenerator |
protected HyperplaneTermGenerator<T,RandomVariableAtom> |
StreamingInitialRoundIterator.termGenerator |
protected Map<RandomVariableAtom,Integer> |
StreamingTermStore.variables |
Modifier and Type | Method and Description |
---|---|
RandomVariableAtom |
StreamingTermStore.createLocalVariable(RandomVariableAtom atom) |
Modifier and Type | Method and Description |
---|---|
Iterable<RandomVariableAtom> |
StreamingTermStore.getVariables() |
Modifier and Type | Method and Description |
---|---|
RandomVariableAtom |
StreamingTermStore.createLocalVariable(RandomVariableAtom atom) |
int |
StreamingTermStore.getVariableIndex(RandomVariableAtom variable) |
Constructor and Description |
---|
StreamingInitialRoundIterator(StreamingTermStore<T> parentStore,
List<WeightedRule> rules,
AtomManager atomManager,
HyperplaneTermGenerator<T,RandomVariableAtom> termGenerator,
List<T> termCache,
List<T> termPool,
ByteBuffer termBuffer,
ByteBuffer volatileBuffer,
int pageSize) |
StreamingTermStore(List<Rule> rules,
AtomManager atomManager,
HyperplaneTermGenerator<T,RandomVariableAtom> termGenerator) |
Copyright © 2020 University of California, Santa Cruz. All rights reserved.