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

Reading .RDA or .RDS files for Asia Graph #55

Closed adam2392 closed 1 year ago

adam2392 commented 2 years ago

Hi

In https://www.bnlearn.com/bnrepository/discrete-small.html#asia, the .rds and .rda files contain the conditional probability table. I was wondering if it is possible to read in those files data using the Python bnlearn?

Thanks!

erdogant commented 2 years ago

I updated the docs and added a new example of how to extract the Conditional Probability Tables (CPTs)

See here in the docs.

erdogant commented 1 year ago

I am closing this issue. Please re-open if needed.