Skip to content

skolouri/Linear_Wasserstein_Embedding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

The Linear Optimal Transport Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published