Skip to content

Commit

Permalink
[MNT] remove forgotten deprecated import from 0.13.0 (#4824)
Browse files Browse the repository at this point in the history
This removes a forgotten, old import of `deprecated` dating back to
0.13.0.

There was a deprecation action attached which never got carried out, we
should revisit this later (so I added a todo with the next MINOR release
instead)
  • Loading branch information
fkiraly committed Jul 12, 2023
1 parent 36d2281 commit 74bf8e3
Showing 1 changed file with 2 additions and 7 deletions.
Expand Up @@ -10,7 +10,6 @@
import copy

import numpy as np
from deprecated.sphinx import deprecated
from joblib import Parallel, delayed
from sklearn.ensemble import RandomForestClassifier
from sklearn.utils import check_random_state
Expand All @@ -21,12 +20,8 @@
from sktime.utils.validation.panel import check_X


# TODO: remove message in v0.16.0 and change base class
@deprecated(
version="0.13.0",
reason="The base class of ProbabilityThresholdEarlyClassifier will be changed to BaseEarlyClassifier in v0.16.0. This will change how classification safety decisions are made and returned, see BaseEarlyClassifier or TEASER for the new interface.", # noqa: E501
category=FutureWarning,
)
# TODO: fix this in 0.21.0
# base class should have been changed to BaseEarlyClassifier
class ProbabilityThresholdEarlyClassifier(BaseClassifier):
"""Probability Threshold Early Classifier.
Expand Down

0 comments on commit 74bf8e3

Please sign in to comment.