summaryrefslogtreecommitdiff
path: root/ot/utils.py
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2018-02-20 16:11:56 +0100
committerRémi Flamary <remi.flamary@gmail.com>2018-02-20 16:11:56 +0100
commit6d9b281271167d3676538f2ef8518abea82ef9c8 (patch)
tree7d1fae1d15a0ec70e229819a68b9f3a1ceea8f02 /ot/utils.py
parent806a406e1ca2e9ca0bfdfe0516c75865e8098205 (diff)
parent5ff8030ce300f3d066e1edba2b36e60709b023b8 (diff)
Merge branch 'master' of github.com:rflamary/POT
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