ott.tools.conformal.OTCP.fit_transport#
- OTCP.fit_transport(x, y, epsilon=0.1, n_target=8192, rng=None, sampler_kwargs=None, **kwargs)[source]#
Fit the transport map.
- Parameters:
x (
Array) – Features of shape[n, dim_x]to fit the transport map.y (
Array) – Targets of shape[n, dim_y]to fit the transport map.epsilon (
float) – Epsilon regularizationn_target (
int) – Total number of points used to create the target measure.sampler_kwargs (
Optional[Any]) – Keyword arguments passed for thesampler.
- Return type:
- Returns:
Self and updates
sinkhorn_output,offset,scale.