Hi Kristen!



 kristen:

I’m looking for something like torch.distributions.Multinomial().log_prob(), that only allows for 1 sample from each category.


I’m neither a statistics expert, nor am I sure that I fully understand what you
are asking.  Nonetheless I am cheerfully willing to provide misinformation to
this forum.
I think that for a single sample, you get the same distribution, and hence the
same log_prob(), from, say, Multinomial without replacement as you do
with replacement.  With replacement, individual samples are independent.
Without replacement, you now get a non-trivial joint distribution – for example,
without replacement, P (4, 4) = 0 (because you can’t sample the value 4
a second time unless you replace it after the first sample).
Best.
K. Frank