PyBNesian icon indicating copy to clipboard operation
PyBNesian copied to clipboard

DiscreteFactor parameter access

Open carloslihu opened this issue 2 years ago • 2 comments

Brief Context

Hello, I find your library an excellent tool for Bayesian network research. I'm currently trying to work with hybrid Bayesian networks (Discrete and Gaussian CPDs). In your library I have identified this as the CLGNetworkType.

Request

The issue is that I can't find in the documentation how to access the parameters (probabilities) in the Conditional Probability Table (CPT) of a DiscreteFactor.

I have seen it is possible with continuous factors (e.g., beta, variance). But I would like to know if it's possible with the discrete ones.

Thank you very much.

carloslihu avatar Jun 14 '22 07:06 carloslihu