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

Added some categorical prior tests that fail #3

Closed
wants to merge 1 commit into from

Conversation

BaxterEaves
Copy link
Contributor

Now that the k argument has been removed from the stat, and it dynamically resizes its counts container, a couple of things will break in ConjugatePrior when the stat is in a degenerate state. It used to be that the stat could not be degenerate, but now the ln_m and ln_pp functions will have be made to work with too-small count vectors and panic with too-large count vectors.

Now that the `k` argument has been removed from the stat, and it
dynamically resizes its counts container, a couple of things will break
in ConjugatePrior when the stat is in a degenerate state. It used to be
that the stat could not be degenerate, but now the ln_m and ln_pp
functions will have be made to work with too-small count vectors and
panic with too-large count vectors.
@BaxterEaves BaxterEaves requested a review from cscherrer March 22, 2024 01:52
@BaxterEaves BaxterEaves closed this Apr 9, 2024
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

Successfully merging this pull request may close these issues.

1 participant