diff options
author | tlacombe <lacombe1993@gmail.com> | 2020-01-13 15:13:35 +0100 |
---|---|---|
committer | tlacombe <lacombe1993@gmail.com> | 2020-01-13 15:13:35 +0100 |
commit | e807654f30363ec92c0d24b702bfd081ec8aae5a (patch) | |
tree | 90c9eb2519a9dc16d9cbc2eef1a5cdbb5e7bf3f6 /src/python/doc | |
parent | 4bcdd64974900302f420fb08435275cc8faa794a (diff) |
update variable names, going for order and internal_p
Diffstat (limited to 'src/python/doc')
-rw-r--r-- | src/python/doc/wasserstein_distance_user.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/doc/wasserstein_distance_user.rst b/src/python/doc/wasserstein_distance_user.rst index 8862a5ce..32999a0c 100644 --- a/src/python/doc/wasserstein_distance_user.rst +++ b/src/python/doc/wasserstein_distance_user.rst @@ -30,7 +30,7 @@ Note that persistence diagrams must be submitted as (n x 2) numpy arrays and mus diag1 = np.array([[2.7, 3.7],[9.6, 14.],[34.2, 34.974]]) diag2 = np.array([[2.8, 4.45],[9.5, 14.1]]) - message = "Wasserstein distance value = " + '%.2f' % gudhi.wasserstein.wasserstein_distance(diag1, diag2, internal_p=2., q=1.) + message = "Wasserstein distance value = " + '%.2f' % gudhi.wasserstein.wasserstein_distance(diag1, diag2, order=1., internal_p=2.) print(message) The output is: |