GithubHelp home page GithubHelp logo

emd_approximation's Introduction

Approximation of the Earth Mover's Distance

Python implementation of the paper of Wuchen Li, Ernest K. Ryu, Stanley Osher, Wotao Yin : A Parallel Method for Earth Mover's Distance, also based on the preprint version : A fast algorithm for Earth Mover's Distance based on optimal transport and L1 type Regularization by Wuchen Li, Stanley Osher, Wilfrid Gangbo.
Project done as part of the course Optimal Transport: theory, computations, statistics and ML applications taught by Marco Cuturi (Google Brain).

Authors: Ryan Boustany, Emma Sarfati

Notebook

The notebook contains a detailed study of the paper and personal intepretations. It also contains some simulations, on the cat images that the authors used for their article.
The notebook might not display correctly because the file is too large. You can use Jupyter nbviewer : https://nbviewer.jupyter.org

Report

The file emd_report.pdf is our paper with our results and problem explanation/interpretation. This paper has no ambition to replace the original one of Li et al.; we simply try to propose our own illustrations of the problem.

Work support

Link to paper 1 : https://arxiv.org/abs/1609.07092
Link to paper 2 : https://www.researchgate.net/publication/319075485_A_Parallel_Method_for_Earth_Mover%27s_Distance
Link to the authors' Matlab implementation : https://github.com/liujl11git/multilevelOT/tree/master/util

Google Colab

If you wish to run the notebook, you can either git clone this repo or create a copy of the Colab link of the notebook: https://colab.research.google.com/drive/1Qmc88kF_qatGaHQ8lS6yxXthQYK5LBtx?usp=sharing. Note that if you use Colab, you will need first to download the data in the /content folder, and change the paths in the notebook.

emd_approximation's People

Contributors

esarf avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

ryanboustany

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.