moscot.base.problems.CompoundProblem.prepare#

CompoundProblem.prepare(policy, key, subset=None, reference=None, xy_callback=None, x_callback=None, y_callback=None, xy_callback_kwargs=mappingproxy({}), x_callback_kwargs=mappingproxy({}), y_callback_kwargs=mappingproxy({}), **kwargs)#

Prepare the individual OT subproblems.

See also

Parameters:
Return type:

BaseCompoundProblem[TypeVar(K, bound= Hashable), TypeVar(B, bound= OTProblem)]

Returns:

: Returns self and updates the following fields: