summaryrefslogtreecommitdiff
path: root/ot/__init__.py
diff options
context:
space:
mode:
authorRomain Tavenard <romain.tavenard@univ-rennes2.fr>2019-06-27 10:23:32 +0200
committerRomain Tavenard <romain.tavenard@univ-rennes2.fr>2019-06-27 10:23:32 +0200
commit0d333e004636f5d25edea6bb195e8e4d9a95ba98 (patch)
tree75b40d64101c0f503e6ed8d3101db1c095ffbd72 /ot/__init__.py
parent1140141938c678d267f688dbb9106d3422d633c5 (diff)
Improved tests and docs for wasserstein_1d
Diffstat (limited to 'ot/__init__.py')
-rw-r--r--ot/__init__.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ot/__init__.py b/ot/__init__.py
index f0e526c..5bd9bb3 100644
--- a/ot/__init__.py
+++ b/ot/__init__.py
@@ -22,7 +22,7 @@ from . import smooth
from . import stochastic
# OT functions
-from .lp import emd, emd2, emd_1d, emd2_1d
+from .lp import emd, emd2, emd_1d, emd2_1d, wasserstein_1d, wasserstein2_1d
from .bregman import sinkhorn, sinkhorn2, barycenter
from .da import sinkhorn_lpl1_mm
@@ -32,5 +32,6 @@ from .utils import dist, unif, tic, toc, toq
__version__ = "0.5.1"
__all__ = ["emd", "emd2", 'emd_1d', "sinkhorn", "sinkhorn2", "utils", 'datasets',
- 'bregman', 'lp', 'tic', 'toc', 'toq', 'gromov', 'emd_1d', 'emd2_1d',
+ 'bregman', 'lp', 'tic', 'toc', 'toq', 'gromov',
+ 'emd_1d', 'emd2_1d', 'wasserstein_1d', 'wasserstein2_1d',
'dist', 'unif', 'barycenter', 'sinkhorn_lpl1_mm', 'da', 'optim']