From 4f412fed1442a77be219abd2751ebacc4a854402 Mon Sep 17 00:00:00 2001 From: RĂ©mi Flamary Date: Fri, 28 Oct 2016 12:02:39 +0200 Subject: add notebook barycenter --- README.md | 1 + docs/source/examples.rst | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 52cc230..743a8d9 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ The examples folder contain several examples and use case for the library. Here * [1D optimal transport](examples/Demo_1D_OT.ipynb) * [2D optimal transport on empirical distributions](examples/Demo_2D_OT_samples.ipynb) +* [1D Wasserstein barycenter](examples/Demo_1D_barycenter.ipynb) ## Acknowledgements diff --git a/docs/source/examples.rst b/docs/source/examples.rst index 606b2f5..9bd4e75 100644 --- a/docs/source/examples.rst +++ b/docs/source/examples.rst @@ -12,3 +12,8 @@ Examples ----------------------------------------------- .. literalinclude:: ../../examples/demo_OT_2D_samples.py + +1D Wasserstein barycenter +------------------------- + +.. literalinclude:: ../../examples/demo_barycenter_1D.py -- cgit v1.2.3