Investigate the use of optree for structured parameter sets
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.6k
- Forks
- 440
- PR merge metrics
- No merged PRs in 30d
Description
I recently discovered the optree library designed for efficient operations on nested Python data structures (à la JAX Pytrees). It's possible to build a model wrapper that is significantly more flexible than the current named parameters and the performance seems good. This could be fun to play around with! Here's a demo: https://gist.github.com/dfm/9b902c659d728e11e3b48a37aa6990ad
/cc @zachjweiner
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
Start by reviewing emcee's current handling of named parameters and then study the linked optree demo. Determine whether a model wrapper using structured parameter sets is feasible and what compatibility requirements it would have. The issue does not define a concrete implementation scope or acceptance criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100