Giter Site home page Giter Site logo

gpeyre / 2015-siims-wasserstein-jko Goto Github PK

View Code? Open in Web Editor NEW
17.0 3.0 6.0 28.19 MB

Gabriel Peyré. Entropic Approximation of Wasserstein Gradient Flows. SIAM Journal on Imaging Sciences, 8(4), pp. 2323–2351, 2015

Home Page: http://arxiv.org/abs/1502.06216

MATLAB 47.78% C 5.32% M 0.73% HTML 1.88% TeX 44.29%

2015-siims-wasserstein-jko's Introduction

This toolbox reproduces the numerical illustrations of the paper:

Gabriel Peyré. Entropic Approximation of Wasserstein Gradient Flows. SIAM Journal on Imaging Sciences, 8(4), pp. 2323–2351, 2015

JKO flow with congestion on a planar domain JKO flow with Wasserstein attraction JKO flow of the entropy of the sum of two density JKO flow with congestion on a 3D mesh

Content

The main scripts are:

  • test_image.m: reproduces the figures of 2-D flows on a rectangular grid.
  • test_mesh.m: reproduces the figures of flows on a triangulated mesh.
  • test_prox_porous.m: display the proximal map of generalized entropies.
  • test_barycenters.m: computation of Wasserstein barycenters (this is a simple example of use of perform_dikstra_scaling).
  • test_pairwise_attraction: evolution of two densities connected by a Wasserstein distance
  • test_pairwise_sum: evolution of two densities with a coupling on the sum
  • test_wasserstein_attraction: minimization of a Wasserstein distance by Wasserstein flow.

The main functions are:

  • perform_jko_stepping.m: perform the actual computation of a JKO step. It needs a callback to the Gibbs kernel.
  • perform_dikstra_scaling.m: a generic solver for KL optimization problems.

Helpers functions:

  • compute_geodesic_heat.m: compute approximate geodesic distances by the "geodesic in heat method".
  • deconv_richlucy.m: linear deconvolution by Richardson-Lucy algorithm.
  • load_porous_prox.m: implements the proximal operator of generalized entropies, computed using a look-up table.
  • porous_prox_newton: same but implemented using a Newton scheme, useful to deal with spacially varying densities.
  • load_setup.m: load various setup for the numerical experiments (i.e. metric, potential, initial densities, etc)
  • load_kernel: load a Gibbs kernel.

Copyright

Copyright (c) 2015 Gabriel Peyré

2015-siims-wasserstein-jko's People

Contributors

gpeyre avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.