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

Improved docstring for predictions argument in sample_posterior_predictive #6616

Merged
merged 2 commits into from Mar 22, 2023

Conversation

fonnesbeck
Copy link
Member

What is this PR about?

The current docstring for predictions= in sample_posterior_prediction has been the source of some confusion, as it does not adequately describe what is going on. This PR aims to address this and provide a clearer picture of what it is for.

image

Checklist

Major / Breaking Changes

  • ...

New features

  • ...

Bugfixes

  • ...

Documentation

  • ...

Maintenance

  • ...

pymc/sampling/forward.py Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Mar 22, 2023

Codecov Report

Merging #6616 (474266f) into main (473c952) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #6616   +/-   ##
=======================================
  Coverage   92.01%   92.01%           
=======================================
  Files          93       93           
  Lines       15742    15742           
=======================================
  Hits        14485    14485           
  Misses       1257     1257           
Impacted Files Coverage Δ
pymc/sampling/forward.py 95.45% <ø> (ø)

Co-authored-by: Ravin Kumar <7213793+canyon289@users.noreply.github.com>
@fonnesbeck fonnesbeck merged commit 067d89b into pymc-devs:main Mar 22, 2023
19 checks passed
@fonnesbeck fonnesbeck deleted the predictions_docstring branch March 22, 2023 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants