bp

package
v0.0.0-...-d568a9c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InferForTree

func InferForTree(graph factor.FactorGraph) error

Perform exact belief propogation on a factor graph with a tree structure. This works by iteratively passing messages from nodes with at most one pending in-message to all adjacent nodes. If all possible messages are passed, the exact marginals over the factor graph will have been calculated. If any messages cannot be passed due to the graph structure, the method will fail with an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL