Unit tests for HybridGaussianFactorGraph.
Definition at line 28 of file test_HybridFactorGraph.py.
◆ calculate_ratio()
def test_HybridFactorGraph.TestHybridGaussianFactorGraph.calculate_ratio |
( |
|
bayesNet | ) |
|
|
static |
◆ estimate_marginals()
def test_HybridFactorGraph.TestHybridGaussianFactorGraph.estimate_marginals |
( |
|
cls, |
|
|
|
target, |
|
|
|
proposal_density |
|
) |
| |
◆ measurements()
def test_HybridFactorGraph.TestHybridGaussianFactorGraph.measurements |
( |
|
sample | ) |
|
|
static |
◆ test_create()
def test_HybridFactorGraph.TestHybridGaussianFactorGraph.test_create |
( |
|
self | ) |
|
◆ test_evaluate()
def test_HybridFactorGraph.TestHybridGaussianFactorGraph.test_evaluate |
( |
|
self | ) |
|
◆ test_optimize()
def test_HybridFactorGraph.TestHybridGaussianFactorGraph.test_optimize |
( |
|
self | ) |
|
◆ test_ratio()
def test_HybridFactorGraph.TestHybridGaussianFactorGraph.test_ratio |
( |
|
self | ) |
|
Given a tiny two variable hybrid model, with 2 measurements, test the
ratio of the bayes net model representing P(z,x,n)=P(z|x, n)P(x)P(n)
and the factor graph P(x, n | z)=P(x | n, z)P(n|z),
both of which represent the same posterior.
Definition at line 254 of file test_HybridFactorGraph.py.
◆ test_tiny()
def test_HybridFactorGraph.TestHybridGaussianFactorGraph.test_tiny |
( |
|
self | ) |
|
◆ tiny()
def test_HybridFactorGraph.TestHybridGaussianFactorGraph.tiny |
( |
|
num_measurements | ) |
|
|
static |
The documentation for this class was generated from the following file: