Skip to content

Commit 5a3b9e9

Browse files
committed
MAINT Remove temporary fix scikit-learn#3995 in view of the change to slinear.
1 parent 7962412 commit 5a3b9e9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

sklearn/isotonic.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -316,10 +316,7 @@ def transform(self, T):
316316
.format(self.out_of_bounds))
317317

318318
if self.out_of_bounds == "clip":
319-
# XXX: Address scipy issue 4304 by adding a tiny value to
320-
# self.X_min_ during clipping
321-
T = np.clip(T, self.X_min_ + np.finfo(float).resolution,
322-
self.X_max_)
319+
T = np.clip(T, self.X_min_, self.X_max_)
323320
return self.f_(T)
324321

325322
def fit_transform(self, X, y, sample_weight=None):

0 commit comments

Comments
 (0)