mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-10 16:29:27 +08:00
MAINT: s/NotImplementedError/TypeError.
This commit is contained in:
@@ -437,7 +437,7 @@ class Relabel(SingleInputMixin, Classifier):
|
||||
result = data.map(relabeler)
|
||||
result[~mask] = data.missing_value
|
||||
else:
|
||||
raise TypeError(
|
||||
raise NotImplementedError(
|
||||
"Relabeling is not currently supported for "
|
||||
"int-dtype classifiers."
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user