Skip to content

Custom Model, Dropout NN Posterior #2127

Answered by Balandat
kstone40 asked this question in Q&A
Discussion options

You must be logged in to vote

When I init EnsemblePosterior, should I just simulate a very large number of samples?

Yeah that's the idea. More is better for accuracy, you ofc need to trade this off with compute / memory.

It does not appear there is error handling for if rsample's sample_shape is longer than values. If that is just limited by optim_samples during optimization, I can handle the errors that way.

The way rsample is implemented is that it can generate repeated draws from the finite samples, see the logic here.

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
7 replies
@kstone40
Comment options

@Balandat
Comment options

@kstone40
Comment options

@Balandat
Comment options

Answer selected by kstone40
@kstone40
Comment options

@kstone40
Comment options

@Balandat
Comment options

Comment options

You must be logged in to vote
4 replies
@Balandat
Comment options

@kstone40
Comment options

@Balandat
Comment options

@kstone40
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants