Skip to content

Fix typo and tweak wording in get_dependencies() docs#1975

Merged
fehiepsi merged 3 commits intopyro-ppl:masterfrom
dylanhmorris:patch-1
Feb 16, 2025
Merged

Fix typo and tweak wording in get_dependencies() docs#1975
fehiepsi merged 3 commits intopyro-ppl:masterfrom
dylanhmorris:patch-1

Conversation

@dylanhmorris
Copy link
Contributor

Changes

  • Fixes a typo ("do" should be "due to")
  • Suggests some other small wording tweaks

@martinjankowiak
Copy link
Collaborator

thanks!

@martinjankowiak
Copy link
Collaborator

please fix linting issue

numpyro/infer/inspect.py:135:75: W291 Trailing whitespace
    |
133 |     in the posterior due to a so-called "collider" variable ``c``. ``a``
134 |     and ``b`` both affect `c``, and so they are conditionally dependent
[13](https://github.com/pyro-ppl/numpyro/actions/runs/13310600270/job/37171943767?pr=1975#step:5:14)5 |     given a value of ``c``. This is called "moralization" in the graphical 
    |                                                                           ^ W291
136 |     model literature.::
    |
    = help: Remove trailing whitespace

@dylanhmorris
Copy link
Contributor Author

Should be fixed in 5760844

@fehiepsi fehiepsi merged commit bf44e07 into pyro-ppl:master Feb 16, 2025
10 checks passed
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.

3 participants