Closed profPlum 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.
Describe the bug When fitting a GMM to a dataset using Bernoulli and Normal distributions, and then calling sample() it will through an error:
probabilities do not sum to 1
To Reproduce
Most of the time this code will say: probabilities do not sum to 1. It appears this only happens when I need to use the default_distribution (which is Gaussian), it will not happen if the down sampled columns are all binary for example. NOTE: dataset only has binary and integer data.