erdogant / bnlearn

Python library for learning the graphical structure of Bayesian networks, parameter learning, inference and sampling methods.
https://erdogant.github.io/bnlearn
Other
463 stars 45 forks source link

find the result of the query #57

Closed samanemami closed 2 years ago

samanemami commented 2 years ago

Is the only strategy in the library to find the result of the query in the joint probability, variable elimination? Are there other approaches such as Gibbs as well?

erdogant commented 2 years ago

Correct. At the moment only variable elimination is available. However, I just added Gibbs as a new sampling method. See more information at the documentation pages.

bnlearn version should be >= '0.7.4'

samanemami commented 2 years ago

Thank you @erdogant