public class KeanuCompiledProbabilisticGraph extends java.lang.Object implements ProbabilisticModel
| Constructor and Description |
|---|
KeanuCompiledProbabilisticGraph() |
| Modifier and Type | Method and Description |
|---|---|
static KeanuCompiledProbabilisticGraph |
convert(BayesianNetwork network)
Takes a BayesianNetwork and converts it to a KeanuCompiledProbabilisticGraph.
|
double |
logLikelihood(java.util.Map<VariableReference,?> inputs) |
double |
logProb(java.util.Map<VariableReference,?> inputs) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getContinuousLatentVariables, getLatentVariables, logLikelihood, logProb, logProbAfterpublic static KeanuCompiledProbabilisticGraph convert(BayesianNetwork network)
network - The bayesian network for conversionspublic double logProb(java.util.Map<VariableReference,?> inputs)
logProb in interface ProbabilisticModelpublic double logLikelihood(java.util.Map<VariableReference,?> inputs)
logLikelihood in interface ProbabilisticModel