You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The generic framework for solving approximate inference problem with BP #11
Activity
Morningliumengkun commentedon Jan 17, 2026
PyTorch Belief Propagation Implementation Plan
1. Core Objectives
2. Technical Analysis
2.1 Algorithm Flow
Algorithm Flow: Initialize → Collect Messages → Process Messages → Damping Update → Convergence Check → Compute Marginals
2.2 Function Interface Summary
read_model_fileread_evidence_fileBeliefPropagation.__init__initial_statecollect_messageprocess_messagebelief_propagatecompute_marginalsapply_evidence3. Project Structure and Testing
3.1 Project Structure
3.2 Testing
examples/asia-network/model.uaiGiggleLiu commentedon Jan 17, 2026
Make this belief propagation framework a submodule, instead of an independent package.
GiggleLiu commentedon Jan 19, 2026
Resolved by #17