We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be73e2e commit 8b52433Copy full SHA for 8b52433
khiops/sklearn/estimators.py
@@ -273,8 +273,8 @@ def __sklearn_tags__(self):
273
# pylint: disable=import-outside-toplevel
274
try:
275
from sklearn.utils import TransformerTags
276
- except ImportError:
277
- raise NotImplementedError("__sklearn_tags__ API unsupported.")
+ except ImportError as error:
+ raise NotImplementedError("__sklearn_tags__ API unsupported.") from error
278
279
# Set the tags from _more_tags
280
tags = super().__sklearn_tags__()
0 commit comments