SumProductLab for Factor Graphs
The SumProductLab provides a set of basic factor nodes for building up a factor graph. One can try out ideas by instantiating the necessary constraint nodes, connecting them up, and giving some evidence. The sum-product (or belief propagation) algorithm will compute the message to each node in the entire network. Finally, marginal probability of any variable in the graph can then be calculated.
Factor graphs can be used to model a wide range of systems. That means the same algorithm can be used to solve problems of different natures.
Examples are provided to demonstrate the usages of the pre-defined factor nodes. More information can be found in the included SumProductLab Reference. For startup and installation, please read the SumProductLab Quick Startup.
Cite As
Henry Leung (2024). SumProductLab for Factor Graphs (https://www.mathworks.com/matlabcentral/fileexchange/26607-sumproductlab-for-factor-graphs), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
SumProductLab_R3.00/
SumProductLab_R3.00/Examples/
Version | Published | Release Notes | |
---|---|---|---|
1.4.0.0 | The ls_add3_node and ls_equ3_node are replaced by more general ls_add_node and ls_equ_node. The ls_add_node handles both add and subtraction. All of ls_ the nodes are real and complex ready. Global variable linear_scalar is introduced. |
||
1.2.0.0 | R2.00 is expanded to include linear systems with scalar and real variables. |
||
1.0.0.0 |