Public Member Functions | Static Public Member Functions | List of all members
test_HybridFactorGraph.TestHybridGaussianFactorGraph Class Reference
Inheritance diagram for test_HybridFactorGraph.TestHybridGaussianFactorGraph:
Inheritance graph
[legend]

Public Member Functions

def estimate_marginals
 
def test_create (self)
 
def test_evaluate (self)
 
def test_optimize (self)
 
def test_ratio (self)
 
def test_tiny (self)
 
- Public Member Functions inherited from gtsam.utils.test_case.GtsamTestCase
def assertEqualityOnPickleRoundtrip
 
def gtsamAssertEquals (self, actual, expected, tol=1e-9)
 

Static Public Member Functions

def calculate_ratio
 
def measurements
 
def tiny
 

Detailed Description

Unit tests for HybridGaussianFactorGraph.

Definition at line 28 of file test_HybridFactorGraph.py.

Member Function Documentation

◆ calculate_ratio()

def test_HybridFactorGraph.TestHybridGaussianFactorGraph.calculate_ratio (   bayesNet)
static

Definition at line 248 of file test_HybridFactorGraph.py.

◆ estimate_marginals()

def test_HybridFactorGraph.TestHybridGaussianFactorGraph.estimate_marginals (   cls,
  target,
  proposal_density 
)

Definition at line 160 of file test_HybridFactorGraph.py.

◆ measurements()

def test_HybridFactorGraph.TestHybridGaussianFactorGraph.measurements (   sample)
static

Definition at line 150 of file test_HybridFactorGraph.py.

◆ test_create()

def test_HybridFactorGraph.TestHybridGaussianFactorGraph.test_create (   self)
Test construction of hybrid factor graph.

Definition at line 30 of file test_HybridFactorGraph.py.

◆ test_evaluate()

def test_HybridFactorGraph.TestHybridGaussianFactorGraph.test_evaluate (   self)
Test evaluate with two different prior noise models.

Definition at line 122 of file test_HybridFactorGraph.py.

◆ test_optimize()

def test_HybridFactorGraph.TestHybridGaussianFactorGraph.test_optimize (   self)
Test construction of hybrid factor graph.

Definition at line 57 of file test_HybridFactorGraph.py.

◆ 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)
Test a tiny two variable hybrid model.

Definition at line 177 of file test_HybridFactorGraph.py.

◆ tiny()

def test_HybridFactorGraph.TestHybridGaussianFactorGraph.tiny (   num_measurements)
static

Definition at line 82 of file test_HybridFactorGraph.py.


The documentation for this class was generated from the following file:


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:47:31