|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.grmm.inference.AbstractInferencer cc.mallet.grmm.inference.VariableElimination
public class VariableElimination
The variable elimination algorithm for inference in graphical models. Created: Mon Sep 22 17:34:00 2003
Constructor Summary | |
---|---|
VariableElimination()
|
Method Summary | |
---|---|
void |
computeMarginals(FactorGraph m)
Computes marginal distributions for a factor graph. |
double |
computeNormalizationFactor(FactorGraph m)
Computes the normalization constant for a model. |
Factor |
lookupMarginal(Variable var)
Returns the computed marginal of a given variable. |
Factor |
unnormalizedMarginal(FactorGraph model,
Variable query)
The bulk of the variable-elimination algorithm. |
Methods inherited from class cc.mallet.grmm.inference.AbstractInferencer |
---|
dump, duplicate, lookupJoint, lookupLogJoint, lookupMarginal, query, reportTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VariableElimination()
Method Detail |
---|
public Factor unnormalizedMarginal(FactorGraph model, Variable query)
public double computeNormalizationFactor(FactorGraph m)
public void computeMarginals(FactorGraph m)
Inferencer
computeMarginals
in interface Inferencer
computeMarginals
in class AbstractInferencer
public Factor lookupMarginal(Variable var)
Inferencer
lookupMarginal
in interface Inferencer
lookupMarginal
in class AbstractInferencer
Inferencer.computeMarginals(FactorGraph)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |