skpro
skpro copied to clipboard
[ENH] Tweedie Distribution
Reference Issues/PRs
related to #423
What does this implement/fix? Explain your changes.
Implements a Tweedie distribution in skpro by working the compound poisson gamma case when power parameter 1<p<2. Calls the other pre-existing distributions in other interger cases
Does your contribution introduce a new dependency? If yes, which one?
No
What should a reviewer concentrate their feedback on?
If this idea would be suitable or is there something that might hinder the further extension as skpro
does not handle case when 2<power<3.
Did you add any tests for the change?
no
PR checklist
For all contributions
- [ ] I've added myself to the list of contributors with any new badges I've earned :-)
How to: add yourself to the all-contributors file in the
skpro
root directory (not theCONTRIBUTORS.md
). Common badges:code
- fixing a bug, or adding code logic.doc
- writing or improving documentation or docstrings.bug
- reporting or diagnosing a bug (get this pluscode
if you also fixed the bug in the PR).maintenance
- CI, test framework, release. See here for full badge reference - [x] The PR title starts with either [ENH], [MNT], [DOC], or [BUG]. [BUG] - bugfix, [MNT] - CI, test framework, [ENH] - adding or improving code, [DOC] - writing or improving documentation or docstrings.
For new estimators
- [ ] I've added the estimator to the API reference - in
docs/source/api_reference/taskname.rst
, follow the pattern. - [ ] I've added one or more illustrative usage examples to the docstring, in a pydocstyle compliant
Examples
section. - [ ] If the estimator relies on a soft dependency, I've set the
python_dependencies
tag and ensured dependency isolation, see the estimator dependencies guide.