moscot.base.problems.OTProblem.prepare#

OTProblem.prepare(xy, x, y, a=None, b=None, **kwargs)[source]#

Prepare the OT problem.

Depending on which arguments are passed, the problem_kind will be:

Parameters:
Return type:

OTProblem

Returns:

: Self and updates the following fields: