scvi.model.CondSCVI.get_likelihood_parameters

CondSCVI.get_likelihood_parameters(adata=None, indices=None, n_samples=1, give_mean=False, batch_size=None)

Estimates for the parameters of the likelihood \(p(x \mid z)\)

Parameters
adata : AnnData | NoneOptional[AnnData] (default: None)

AnnData object with equivalent structure to initial AnnData. If None, defaults to the AnnData object used to initialize the model.

indices : Sequence[int] | NoneOptional[Sequence[int]] (default: None)

Indices of cells in adata to use. If None, all cells are used.

n_samples : int | NoneOptional[int] (default: 1)

Number of posterior samples to use for estimation.

give_mean : bool | NoneOptional[bool] (default: False)

Return expected value of parameters or a samples

batch_size : int | NoneOptional[int] (default: None)

Minibatch size for data loading into model. Defaults to scvi.settings.batch_size.

Return type

{str: ndarray}Dict[str, ndarray]