Document/expose from_pyfunc?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 207
- Forks
- 28
- Avg merge
- 7d 21h
- Merged PRs (30d)
- 1
Description
Hi!
I think it is fairly common for a user to have a log density/its gradient outside of a PyMC or Stan model. I was helping one such user on the Stan forums recently and recommended they check out this package.
I was able to write what I think is a working example of how you can do this in nutpie, but
- It's not clear to me if this is really a "supported" functionality that won't be broken by future changes
- I had to basically reverse-engineer how to call the function, due the lack of documentation
Is this a use case you all are interested in supporting?
Contributor guide
No contributing guide indexed for this repository
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
Start by reviewing the current from_pyfunc entry point and the linked working example to determine how the function is intended to be called. Confirm whether this external log-density use case is supported, then document the supported workflow and its stability expectations, or clarify the limitation if it is not.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100