pymc icon indicating copy to clipboard operation
pymc copied to clipboard

Implemented icdf for Categorical distribution and add shape/broadcasting tests.

Open iTzZe4lous opened this issue 2 months ago • 2 comments

Description

Changes

  • Added icdf implementation to pymc/distributions/discrete.py.
  • Added test_categorical_icdf, test_categorical_icdf_batch_shapes, and test_categorical_icdf_upper_edge.

Testing

  • All Categorical tests pass locally (pytest -q tests/distributions -k categorical).
  • Pre-commit checks pass.

Related Issue

  • [ ] Closes #
  • [x] Related to # 6612

Checklist

Type of change

  • [x] New feature / enhancement
  • [ ] Bug fix
  • [ ] Documentation
  • [ ] Maintenance
  • [ ] Other (please specify):

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

iTzZe4lous avatar Oct 03 '25 02:10 iTzZe4lous