Replies: 1 comment
-
Hello, First note that the size of the matrix M given to Second the OT plan can be indeed used for transporting points using what is called barycentric mapping. But it can be applied only to the samples used to estimate the OT plan. You cannot apply the OT plan to new samples that is probably why you are not happy with the result. |
Beta Was this translation helpful? Give feedback.
-
hi,
I would like to identify a transport plan given two known input grids , and output grids and apply it to a new grid however it does not work:
I have this result :
Optimal Transport Plan:
[[0. 0. 0. 0. 0.16666667 0. ]
[0. 0.16666667 0. 0. 0. 0. ]
[0. 0. 0.16666667 0. 0. 0. ]
[0. 0. 0. 0. 0. 0.16666667]
[0.16666667 0. 0. 0. 0. 0. ]
[0. 0. 0. 0.16666667 0. 0. ]]
Transformed Tensor:
[[2.83333333 2.33333333 2.5 ]
[3. 2.16666667 2.66666667]]
I expected [19,20,21],[22,23,24]
Beta Was this translation helpful? Give feedback.
All reactions