- TemporalProblem.compute_interpolated_distance(source, intermediate, target, interpolation_parameter=None, n_interpolated_cells=None, account_for_unbalancedness=False, batch_size=256, posterior_marginals=True, seed=None, backend='ott', **kwargs)#
TODO(MUCDK): create an example showing the usage.
This is a validation method which interpolates cells between the
targetdistributions leveraging the OT coupling to approximate cells at the
bool) – Whether to account for unbalancedness by assuming exponential cell growth and death.
'ott']) – Backend used for the distance computation.
Keyword arguments for the distance function, depending on the
self (TemporalMixinProtocol[K, B]) –
- Return type:
: The distance between OT-interpolated cells and cells at the
intermediatetime point. It is recommended to compare this to the distances computed by