ZINBDecoder
latent.modules.decoder.ZINBDecoder
Decoder with ZINB reconstruction loss. Uses size factors to deal with count data.
__init__(self, x_dim, name='zinb_decoder', loss_name='zinb_loss', hidden_units=[128, 128], initializer='glorot_normal', dispersion='gene', **kwargs)
special
Parameters:
Name | Type | Description | Default |
---|---|---|---|
x_dim |
int |
Integer indicating the number of dimensions in the input data. |
required |
name |
str |
String indicating the name of the model. |
'zinb_decoder' |
hidden_units |
Iterable[int] |
Number of hidden units in |
[128, 128] |
loss_name |
str |
String indicating the name of the loss. |
'zinb_loss' |
initializer |
Union[str, Callable] |
Initializer for the kernel weights matrix (see
|
'glorot_normal' |
dispersion |
Union[Literal['gene', 'cell-gene', 'constant'], float] |
One of the following:
|
'gene' |
**kwargs |
|
Other arguments passed on to |
{} |