IDSIA / crema

Crema: Credal Models Algorithms
https://crema-toolbox.readthedocs.io/
GNU Lesser General Public License v3.0
10 stars 4 forks source link

Fixed missing marginalization on LoopyBeliefPropagation query #64

Closed cbonesana closed 3 years ago

cbonesana commented 3 years ago

When using query of a LoopyBeliefPropagation, the returned factor was not marginalized over the target variable.

This is now fixed and a test added to the TestLoopyBeliefPropagation class.