Skip to content

Conversation

Armavica
Copy link
Member

What is this PR about?

This concerns the documentation of the Categorical and Multinomial
distributions. Probabilities are indeed rescaled, but only when they
are numeric, and with a warning to discourage users from that.
Hence this should not be in the documentation.

See issue #5978.

Checklist

Major / Breaking Changes

  • ...

Bugfixes / New features

  • ...

Docs / Maintenance

  • Remove indication that probabilities are automatically rescaled for the Categorical and Multinomial distributions

This concerns the documentation of the Categorical and Multinomial
distributions.  Probabilities are indeed rescaled, but only when they
are numeric, and with a warning to discourage users from that.
Hence this should not be in the documentation.

See issue pymc-devs#5978.
@codecov
Copy link

codecov bot commented Aug 25, 2022

Codecov Report

Merging #6066 (3bf89d4) into main (093a734) will decrease coverage by 1.58%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #6066      +/-   ##
==========================================
- Coverage   89.56%   87.98%   -1.59%     
==========================================
  Files          72       72              
  Lines       12941    12941              
==========================================
- Hits        11591    11386     -205     
- Misses       1350     1555     +205     
Impacted Files Coverage Δ
pymc/distributions/discrete.py 99.21% <ø> (ø)
pymc/distributions/multivariate.py 92.00% <ø> (ø)
pymc/sampling_jax.py 0.00% <0.00%> (-97.16%) ⬇️

@ricardoV94 ricardoV94 merged commit 4bd1a2d into pymc-devs:main Aug 25, 2022
@Armavica Armavica deleted the docs-p-normalization branch August 25, 2022 18:10
@ricardoV94 ricardoV94 mentioned this pull request Mar 17, 2023
5 tasks
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.

2 participants