Skip to content

Commit 038bbc1

Browse files
MNT remove unused mixin class in TransformedTargetRegressor (scikit-learn#29398)
1 parent eb19bd4 commit 038bbc1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

sklearn/compose/_target.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,12 @@
1818
)
1919
from ..utils._param_validation import HasMethods
2020
from ..utils._tags import _safe_tags
21-
from ..utils.metadata_routing import (
22-
_RoutingNotSupportedMixin,
23-
)
2421
from ..utils.validation import check_is_fitted
2522

2623
__all__ = ["TransformedTargetRegressor"]
2724

2825

29-
class TransformedTargetRegressor(
30-
_RoutingNotSupportedMixin, RegressorMixin, BaseEstimator
31-
):
26+
class TransformedTargetRegressor(RegressorMixin, BaseEstimator):
3227
"""Meta-estimator to regress on a transformed target.
3328
3429
Useful for applying a non-linear transformation to the target `y` in

0 commit comments

Comments
 (0)