diff options
author | mcarrier <mcarrier@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-06-23 04:59:39 +0000 |
---|---|---|
committer | mcarrier <mcarrier@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-06-23 04:59:39 +0000 |
commit | 0741c3eabbfece1c73ac76aa44adbe2904b6124d (patch) | |
tree | 83fc9edee2be2c5b1fc73d9d3cc1ddc4a66c828b /src/Persistence_representations/include/gudhi/Sliced_Wasserstein.h | |
parent | 10c6f6be72a2631cd1a1d28ed61343d55bd2b759 (diff) |
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/kernels@3628 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 12f32a1c8ca31e7e0a40e1c3502e2a3d810d5bc5
Diffstat (limited to 'src/Persistence_representations/include/gudhi/Sliced_Wasserstein.h')
-rw-r--r-- | src/Persistence_representations/include/gudhi/Sliced_Wasserstein.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Persistence_representations/include/gudhi/Sliced_Wasserstein.h b/src/Persistence_representations/include/gudhi/Sliced_Wasserstein.h index d8ed0d98..8c92ab54 100644 --- a/src/Persistence_representations/include/gudhi/Sliced_Wasserstein.h +++ b/src/Persistence_representations/include/gudhi/Sliced_Wasserstein.h @@ -62,7 +62,7 @@ namespace Persistence_representations { * in the diagrams, or approximated by sampling \f$N\f$ lines in the circle in \f$O(Nn{\rm log}(n))\f$ time. The Sliced Wasserstein Kernel is then computed as: * * \f$ k(D_1,D_2) = {\rm exp}\left(-\frac{SW(D_1,D_2)}{2\sigma^2}\right).\f$ - * + * * For more details, please see \cite pmlr-v70-carriere17a . * **/ @@ -80,7 +80,7 @@ class Sliced_Wasserstein { void build_rep(){ if(approx > 0){ - + double step = pi/this->approx; int n = diagram.size(); @@ -188,7 +188,7 @@ class Sliced_Wasserstein { * \ingroup Sliced_Wasserstein * * @pre approx attribute needs to be the same for both instances. - * @param[in] second other instance of class Sliced_Wasserstein. + * @param[in] second other instance of class Sliced_Wasserstein. * * */ |