We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7962412 commit 5a3b9e9Copy full SHA for 5a3b9e9
sklearn/isotonic.py
@@ -316,10 +316,7 @@ def transform(self, T):
316
.format(self.out_of_bounds))
317
318
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_)
+ T = np.clip(T, self.X_min_, self.X_max_)
323
return self.f_(T)
324
325
def fit_transform(self, X, y, sample_weight=None):
0 commit comments