pytensor
pytensor copied to clipboard
Implement Rayleigh distribution in Pytensor
Description
Incorporate Rayleigh
distribution as square root of chi2
distribution with degree of freedom 2.
As per the reference.
Related Issue
- [x] Closes #223
- [ ] Related to #
Checklist
- [x] Checked that the pre-commit linting/style checks pass
- [x] Included tests that prove the fix is effective or that the new feature works
- [x] Added necessary documentation (docstrings and/or example notebooks)
- [ ] If you are a pro: each commit corresponds to a relevant logical change
Type of change
- [x] New feature / enhancement
- [ ] Bug fix
- [ ] Documentation
- [ ] Maintenance
- [ ] Other (please specify):
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 80.81%. Comparing base (
c9f5f65
) to head (eb1ee57
).
Additional details and impacted files
@@ Coverage Diff @@
## main #750 +/- ##
=======================================
Coverage 80.80% 80.81%
=======================================
Files 162 162
Lines 46816 46822 +6
Branches 11454 11455 +1
=======================================
+ Hits 37832 37838 +6
Misses 6735 6735
Partials 2249 2249
Files | Coverage Δ | |
---|---|---|
pytensor/tensor/random/basic.py | 99.05% <100.00%> (+0.01%) |
:arrow_up: |