summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2016-10-28 12:02:39 +0200
committerRémi Flamary <remi.flamary@gmail.com>2016-10-28 12:02:39 +0200
commit4f412fed1442a77be219abd2751ebacc4a854402 (patch)
tree9195bbfe1774e27a33354061262ee647d1de8324
parent5f02ebce58fb255d6e640e23d258bc4f2444b5e1 (diff)
add notebook barycenter
-rw-r--r--README.md1
-rw-r--r--docs/source/examples.rst5
2 files changed, 6 insertions, 0 deletions
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