TuringLang / TuringLang/AbstractMCMC.jl
Extending chain representations
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 108
- Forks
- 20
- Avg merge
- 45m
- Merged PRs (30d)
- 2
Description
Hi,
I had misunderstood some of the goals of this package, thankfully @cpfiffer got me straightened out. I'm looking into using this as an interface for populating SampleChains.
The docs seem mostly oriented toward people building new samplers, and not so much for people building new ways of representing chains. So I have lots of questions...
- I'd like to avoid getting all of the samples and then calling
bundle_samples. It seems like I should be able to instead overloadsave!!and then havebundle_samplesbe a no-op. Is that right? - Cameron mentioned a
resumefunction that can pick up sampling where it left off, without needing to go back through the warmup phase. But I don't see it in this repo. Where can I find it? - Where are things like per-sample diagnostics stored? Divergences for HMC, that sort of thing.
- Do you have any examples of using this with log-weighted samples? I need these for importance sampling, VI, etc.
I'm sure I'll have more to come, but this will get me started. Thanks :)
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 reading the documentation and searching the repository for save!!, bundle_samples, resume, and the existing chain interfaces. Turn the questions about diagnostics, resuming, and log-weighted samples into a concrete scope; the work is done when the supported representation behavior and relevant examples are clearly defined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100