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

discrete.py docs updated #7442

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

androemeda
Copy link

@androemeda androemeda commented Jul 30, 2024

Key changes:

  1. Updated the initial description to state "values range from 0 to K-1" instead of "1 to K".
  2. Added a note explicitly stating that observed values should use 0-based indexing.
  3. Updated the mathematical notation to reflect 0-based indexing (k = 0 to K-1).
  4. Modified the example to use 0-based indexing for y (0, 1, 2) instead of (1, 2, 3) - 1.
  5. Added a comment in the example to highlight the 0-based indexing of y.

📚 Documentation preview 📚: https://pymc--7442.org.readthedocs.build/en/7442/

Copy link

welcome bot commented Jul 30, 2024

Thank You Banner]
💖 Thanks for opening this pull request! 💖 The PyMC community really appreciates your time and effort to contribute to the project. Please make sure you have read our Contributing Guidelines and filled in our pull request template to the best of your ability.

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