sccross.models.utils.ZILN¶
-
class
sccross.models.utils.ZILN(zi_logits, loc, scale)[source]¶ Bases:
torch.distributions.log_normal.LogNormalZero-inflated log-normal distribution with subsetting support
- Parameters
Methods
Scores the sample by inverting the transform(s) and computing the score using the score of the base distribution and the log abs det jacobian.
Attributes