Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 1.84 KB

README.md

File metadata and controls

32 lines (19 loc) · 1.84 KB

Linear Wasserstein Embedding

This repo gives a simple tutorial of the Linear-Wasserstein-Embedding or Linear-Optimal-Transport (LOT) framework presented in the following papers:

Requirements:

  • POT : A truly wonderful library for Optimal Transport developed by Flamary et al.

  • Sklearn

  • Matplotlib

    What can it do?

Lets assume that we have empirical samples from a set of distributions, and that we have different number of samples from each distribution, as shown in the following figure:

LOT provides a nonlinear transformation to the LOT space (i.e., transport space) in which we can use linear methods to learn the statistical characteristics of these distributions. For instance, calculating the mean of the distributions in the LOT space leads to:

Or you can calculate the principle variations of the distributions via PCA in the LOT space, which leads to:

These are but a few examples showing what one can do with the LOT transform.