Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Posterior probabilities depend on node names #9

Closed
ivstojic opened this issue Feb 10, 2022 · 1 comment
Closed

Posterior probabilities depend on node names #9

ivstojic opened this issue Feb 10, 2022 · 1 comment

Comments

@ivstojic
Copy link

When constructing a BBN from structure and data, the computed posterior probabilities depend on the order of node names. This seems to happen when the columns of the dataframe with the data are not sorted.

A minimal working example is attached.

pybbn_bug_mwe.zip

@vangj
Copy link
Owner

vangj commented Feb 1, 2023

I don't think this is a bug: b06819e

Those are some unit tests.

I believe you have permuted the columns and so the parameters should be different.

@vangj vangj closed this as completed Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants