-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Arrange distributions and sub-contents alphabetically #6653
Conversation
I am not sure we want alphabetically sorting at all levels... There's a question of what we prioritize as well |
Hey @ricardoV94 . Based on the discussion in issue 6621, I felt that sorting the distributions in alphabetical order is the next sensible step. How would you like me to change the order of the listed distributions? |
I think the distributions is sensible but not necessarily the order of the categories (continuous vs discrete vs multivariate, etc). Others may disagree with me though. |
|
Thank You @ricardoV94 @reshamas . Just so that I get this right this time, I'll summarize the changes to be made that I understand. Firstly, keep categories( i.e. continuous vs discrete vs multivariate, etc) in the same order as is currently displayed on the website. Then, alphabetically arrange the types of distributions under each category( eg: continuous, discrete, etc). |
3234c29
to
e0127ee
Compare
bdff675
to
b23d147
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks @Dhruvanshu-Joshi 🙂 I also notice that you added the distributions that were forgotten in the documentation, which is much appreciated!
Laplace | ||
Logistic | ||
LogNormal | ||
LogitNormal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Laplace | |
Logistic | |
LogNormal | |
LogitNormal | |
Laplace | |
Logistic | |
LogitNormal | |
LogNormal |
b23d147
to
1fe2a58
Compare
Thank You @larryshamalama |
Hey @reshamas , I have included the suggestion in the latest commit. Hope it solves the issue. |
TruncatedNormal | ||
Triangular |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TruncatedNormal | |
Triangular | |
Triangular | |
TruncatedNormal |
Mixture | ||
NormalMixture | ||
Mixture |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't "Mixture" come before "NormalMixture"?
Distribution | ||
Discrete |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Distribution | |
Discrete | |
Discrete | |
Distribution |
Thank you @Dhruvanshu-Joshi. |
@ricardoV94 cc: @OriolAbril |
We didn't change the required yet to not force old PRs to update. |
What is this PR about?
Aimed to solve issue 6621.Updated the api docs for distributions and its sub-content to arrange the listed distributions in alphabetical order.
Checklist
Major / Breaking Changes
New features
Bugfixes
Documentation
Distributions utilities
is intentionally kept at the bottom indistributions.rtx
.Maintenance
📚 Documentation preview 📚: https://pymc--6653.org.readthedocs.build/en/6653/