You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my work I need to develop a generative model that makes use of the Hypergeometric distribution. I believe torch.multinomial without replacement is equivalent? But it is of course, incompatible with pyro.sample statements.
Suggestions for alternative distributions would also be appreciated.
Thanks for your consideration!
The text was updated successfully, but these errors were encountered:
torch.multinomial provides a sampler. a full-fledged distribution also requires a log_prob. however afaik evaluating the hypergeometric function involves nasty special functions that aren't available in pytorch
Issue Description
In my work I need to develop a generative model that makes use of the Hypergeometric distribution. I believe
torch.multinomial
without replacement is equivalent? But it is of course, incompatible withpyro.sample
statements.Suggestions for alternative distributions would also be appreciated.
Thanks for your consideration!
The text was updated successfully, but these errors were encountered: