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

Use keyword arguments for distribution parameters #1661

Closed
jariji opened this issue Jan 16, 2023 · 1 comment
Closed

Use keyword arguments for distribution parameters #1661

jariji opened this issue Jan 16, 2023 · 1 comment

Comments

@jariji
Copy link

jariji commented Jan 16, 2023

Exponential(x) is unclear without reading the docs: x could be the rate or its inverse, the scale. It would be less error-prone if keyword arguments were used, such as Exponential(scale=x).

@devmotion
Copy link
Member

I'll close this is a duplicate of #768. There was also an attempt at it in #823 (unfortunately did not receive many comments and I should update it).

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