MNT Removes unused private attributes
@@ -252,10 +252,8 @@ class IsotonicRegression(RegressorMixin, TransformerMixin, BaseEstimator):
unique_X, unique_y, unique_sample_weight = _make_unique(
X, y, sample_weight)
- # Store _X_ and _y_ to maintain backward compat during the deprecation
- # period of X_ and y_
- self._X_ = X = unique_X
- self._y_ = y = isotonic_regression(unique_y, unique_sample_weight,
+ X = unique_X
+ y = isotonic_regression(unique_y, unique_sample_weight,
self.y_min, self.y_max,
increasing=self.increasing_)
