Skip to content

Sampling a 1D gaussian mixture #30

Answered by jecampagne
jecampagne asked this question in Q&A
Discussion options

You must be logged in to vote

Add: I have increased significantly the num_live_points from 1_000 (default) to 10_000 and the sampling looks better

--------
# likelihood evals: 2908628
# samples: 82529
# likelihood evals / sample: 35.2
--------

logZ=-1.7929 +- 0.0083
ESS=31622

But,

  1. why I need to increase so much the number of live points as the rule of thumb is
    num_live_points=50*(# posterior modes)*(D+1) which here gives 50 x 2 x (1+1) = 200.
  2. why LogZ is not Log(value of Integral ) ?
    (nb. there are still summary crashes)

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Joshuaalbert
Comment options

@jecampagne
Comment options

@Joshuaalbert
Comment options

@jecampagne
Comment options

@Joshuaalbert
Comment options

Answer selected by Joshuaalbert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
v0 (Pre-release) Pre release numpyro numpyro discussion
2 participants