moscot.problems.time.TemporalProblem.compute_batch_distances¶
- TemporalProblem.compute_batch_distances(time, batch_key, posterior_marginals=True, backend='ott', **kwargs)¶
Compute the average Wasserstein distance between batches for a specific time point.
See also
TODO(MUCDK): create an example showing the usage.
- Parameters:
time (
TypeVar(K, bound=Hashable)) – Time point for which to compute the distances.posterior_marginals (
bool) – Whether to useposterior_growth_ratesorprior_growth_rates. TODO(MUCDK): needs more explanationbackend (
Literal['ott']) – Backend used for the distance computation.**kwargs (
Any) – The description is missing.
- Return type:
- Returns:
: The average distance between batches for a specific time point.