scvi.distributions.NegativeBinomialMixture.perplexity

NegativeBinomialMixture.perplexity()

Returns perplexity of distribution, batched over batch_shape.

Returns

Tensor of shape batch_shape.