pymc-devs / pymc-devs/pytensor
Add dispatch for `numba` Hyp2F1 Function
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 644
- Forks
- 208
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 16
Description
Description
The most notable use of the Hyp2f1 function is the Pareto/NBD model in pymc-marketing.
The Hyp2F1 function was finally added tojax last week, but cannot be used (see closed PR below for details.)
You may want to try nutpie with the numba backend after #1445
numba supports scipy.special.hyp2f1, so hope is kindled!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Start by locating the existing special-function dispatch path and numba backend integration, then check how scipy.special.hyp2f1 is exposed; done means Hyp2F1 can be dispatched and used with the numba backend.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100