Replies: 3 comments 13 replies
-
Linear Transport methods assumes that the left and right distributions are multivariate normal distributions. In practice their parameters such as mean and covariance are estimated from the data. So they do not provide a transport plan between samples but a continuous affine mapping that is the Monge mapping. You can interpret the transport by looking at the displacement of the samples but there is not OT plan giving you correspondences for those methods (a coarse approximation would be to do a closets sample assignment after mapping but this will not be a transport plan). |
Beta Was this translation helpful? Give feedback.
-
Hi @ttsesm, thanks for the interesting questions! PS I cannot speak for everyone, but for safety reasons I would never open a stranger's zip file ;) |
Beta Was this translation helpful? Give feedback.
-
@eloitanguy based on the above code and experimenting a bit more, I've managed to have it running also for the non equal samples test as you can see below: However, another question now is whether there is a way to smoothen even more the transport plan so that to reduce the noise (the appearing outliers). For example from the graph it is clear that there is correlation between the first 250 samples of both sets (visualized by the diagonal). However, due to the outliers I am not getting my matches to be always on the diagonal of these first 250 samples (actually on 300 samples experiment I am getting approx. a 46% accuracy, while the correlation through the diagonal clear). I've tried increasing a bit the |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am trying to use the
ot.da.LinearGWTransport()
function as described in the POT documentation as follows:where
Cs
,Ms
andct
,mt
are my 3D and 2D gaussians respectively (i.e. covariance and mean values).However, I am not sure how to retrieve back the transport plan and the projection matrix from the fitted distribution. From what I've noticed I can get back the
A
andB
matrices but I am not sure how these are related to the transport plan and projection matrix.I would appreciated if someone has an idea and/or provide some feedback.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions