DifferentialComputation.
scale_sampler
Samples the posterior scale using the variational posterior distribution.
List
bool
ndarray
Union
Mask or list of cell ids to select
int
None
Optional
5000
Number of samples in total per batch (fill either n_samples_total or n_samples_per_cell)
Number of time we sample from each observation per batch (fill either n_samples_total or n_samples_per_cell)
Sequence
float
str
Biological batch for which to sample from. Default (None) sample from all batches
False
Whether normalized means are conditioned on observed batches or if observed batches are to be used
Return mean of values
dictdict
dict
type Dictionary containing: scale Posterior aggregated scale samples of shape (n_samples, n_vars) where n_samples correspond to either: - n_bio_batches * n_cells * n_samples_per_cell or - n_samples_total batch associated batch ids