Closed noclew closed 1 year ago
Thank you for opening an issue. pomegranate has recently been rewritten from the ground up to use PyTorch instead of Cython (v1.0.0), and so all issues are being closed as they are likely out of date. Please re-open or start a new issue if a related issue is still present in the new codebase.
Hello, I got some questions here. First of all, thank you for sharing your awesome work! I am playing around with awesome pomegranate and found MLE estimates of BN are somewhat confusing.
Here I attach my graph as JSON (file extension is txt because JSON was not allowed to attach) graph_data.txt
I want to predict the 8th and 9th variables as below: (Variables are 0 to 10 from left to right)
The parent of variables "8" and "9" is "7", and the prediction assigned 1, -1, -1 to the variables "7", "8", "9", respectively. However, if we look at the actual conditional probabilities, P("8" = -1 | "7" = 1) = 0 and P("9" = -1 | "7" = 1) = 0, so this value assignment is not consistent with each other in the same event. If I make a query for multiple missing variables, Does predict function of BN assign the value of each variable based on its marginal probability? Because the joining assignment above cannot happen in the model, I wonder how I should interpret it.
Thanks!