summaryrefslogtreecommitdiff
path: root/src/python/gudhi/sktda/kernel_methods.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/gudhi/sktda/kernel_methods.py')
-rw-r--r--src/python/gudhi/sktda/kernel_methods.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/gudhi/sktda/kernel_methods.py b/src/python/gudhi/sktda/kernel_methods.py
index 24067718..d409accd 100644
--- a/src/python/gudhi/sktda/kernel_methods.py
+++ b/src/python/gudhi/sktda/kernel_methods.py
@@ -26,7 +26,7 @@ class SlicedWassersteinKernel(BaseEstimator, TransformerMixin):
Attributes:
bandwidth (double): bandwidth of the Gaussian kernel applied to the sliced Wasserstein distance (default 1.).
- num_directions (int): number of lines evenly sampled from [-pi/2,pi/2] in order to approximate and speed up the kernel computation (default 10). If -1, the exact kernel is computed.
+ num_directions (int): number of lines evenly sampled from [-pi/2,pi/2] in order to approximate and speed up the kernel computation (default 10).
"""
self.bandwidth = bandwidth
self.sw_ = SlicedWassersteinDistance(num_directions=num_directions)