summaryrefslogtreecommitdiff
path: root/ot/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'ot/utils.py')
-rw-r--r--ot/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ot/utils.py b/ot/utils.py
index 31a002b..9eab3fc 100644
--- a/ot/utils.py
+++ b/ot/utils.py
@@ -223,6 +223,7 @@ def check_params(**kwargs):
class deprecated(object):
+
"""Decorator to mark a function or class as deprecated.
deprecated class from scikit-learn package
@@ -320,6 +321,7 @@ def _is_deprecated(func):
class BaseEstimator(object):
+
"""Base class for most objects in POT
adapted from sklearn BaseEstimator class