TuringLang / TuringLang/AbstractMCMC.jl

Standardize logp, logweights, and "info" per-sample metadata

Open
#58 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
108
Forks
20
Avg merge
45m
Merged PRs (30d)
2

Description

As I understand, there's currently no standard for passing values like the log-density or log-weight (when that exists) for each sample. Algorithms that require these will each have to come up with their own standards, which will then need to be managed separately.

I have some description of how I'm handling these one instance of SampleChains here.

It would make things much easier if things like this can be standardized, to the extent they're common across samplers.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the SampleChains handling described in issue #57's linked comment and review how per-sample log-density, log-weight, and other metadata are currently passed. Define a common standard for metadata shared across samplers, with the scope and compatibility expectations agreed before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.