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

java.lang.Error: randomChoiceUnnormalized falls through -- negative components in input distribution? #1135

Open
Sikandar37 opened this issue Dec 2, 2023 · 2 comments

Comments

@Sikandar37
Copy link

Dear All,
I am running discrete Phylo-geographic analysis for 2600 influenza sequences using fix tree topology following this tutorial https://github.com/rbouckaert/FixedTreeAnalysis. After running the xml file in the beast V.2.7.4/V 2.7.5. i am receiving this error java.lang.Error: randomChoiceUnnormalized falls through -- negative components in input distribution?
Please report error to Marc

What could be the possible reason as previously this tutorial was working well for my data.
expert opinion is needed to solve this error
Screenshot 2023-12-02 170423

Thank you

@rbouckaert
Copy link
Member

Normally, this happens when a random value is requested from a discrete set of values based on the probabilities of these values. However, when the probabilities are not properly defined (all zero, or all NaN=not a number), the Randomizer cannot pick a value and displays an error.

At first sight, it looks like this happens only once in the whole chain, perhaps due to some numerical instability that makes the probabilities all NaN. Does it ever happen again? Does it seem to make a difference on the posterior? If not, it is probably safe to ignore the message.

@Sikandar37
Copy link
Author

Sikandar37 commented Dec 4, 2023 via email

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