stan-dev / stan-dev/rstan

ADVI: access ELBO trajectory (enhancement)

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

Nobody has claimed this yet.

Dominant language
R
Stars
1.1k
Forks
266
Avg merge
2h 56m
Merged PRs (30d)
1

Description

Summary:

Expose ADVI ELBO via rstan interface

Description:

I don't believe there is any way to access the ELBO values at each iteration through the rstan interface. These would be useful for comparing runs of ADVI from distinct initialisations.

RStan Version:

2.9.0-3

R Version:

3.2.3

Operating System:

Ubuntu 15.10

Contributor guide

No contributing guide indexed for this repository

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 by tracing the ADVI entry point in the rstan interface and how its results are currently returned. Compare the available result data with the requested per-iteration ELBO values, then add coverage showing that runs can expose the trajectory. Done means callers can retrieve those values for comparing initialisations.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.