scglue.models.prob.ZILN
- class scglue.models.prob.ZILN(zi_logits, loc, scale)[源代码]
基类:
LogNormal
Zero-inflated log-normal distribution with subsetting support
- 参数:
zi_logits (
torch.Tensor
) – Zero-inflation logitsloc (
torch.Tensor
) – Location of the log-normal distributionscale (
torch.Tensor
) – Scale of the log-normal distribution
方法
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.
属性