Skip to content

About

Gaussian moments through a function, and expectations under a normal: the unscented transform, linearisation, Gauss–Hermite cubature and RTS smoothing, for message passing rules

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

22 Commits

Folders and files

Repository files navigation

MessagePassingRulesApproximations

CI Docs: stable Docs: dev Coverage Code style: Runic

Numerics for propagating Gaussian moments through a function, and for expectations under a normal: the unscented transform, local linearisation, Gauss–Hermite cubature and a Rauch–Tung–Striebel smoother. It works on means and covariances, not on distributions, and knows nothing of message passing. The node packages of the ReactiveMP ecosystem build their rules on it.

import Pkg; Pkg.add("MessagePassingRulesApproximations")
using MessagePassingRulesApproximations

m, V = approximate(Unscented(), x -> 2x + 1, (1.0,), (0.5,))   # ≈ (3.0, 2.0)
A, b = approximate(Linearization(), x -> x^2, (3.0,))          # (6.0, -9.0)

About

Gaussian moments through a function, and expectations under a normal: the unscented transform, linearisation, Gauss–Hermite cubature and RTS smoothing, for message passing rules

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages