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

Raise an error when there are invalid prior specifications #815

Open
digicosmos86 opened this issue May 31, 2024 · 1 comment
Open

Raise an error when there are invalid prior specifications #815

digicosmos86 opened this issue May 31, 2024 · 1 comment

Comments

@digicosmos86
Copy link

Is there a way for bambi to throw an error if there are entries in the priors dict passed to bmb.Model that are not assigned to any term?

@tomicapretto
Copy link
Collaborator

@digicosmos86 sorry for the delay in the response. It it not possible at the moment, unused priors are just omitted.

I think there could be a config variable in our configuration https://github.com/bambinos/bambi/blob/main/bambi/config.py to control it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants