Skip to content

Commit a9ea55f

Browse files
committed
FIX Use slinear interpolation for isotonic regression
1 parent bf203de commit a9ea55f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/isotonic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def _build_f(self, X, y):
228228
.format(self.out_of_bounds))
229229

230230
bounds_error = self.out_of_bounds == "raise"
231-
self.f_ = interpolate.interp1d(X, y, kind='linear',
231+
self.f_ = interpolate.interp1d(X, y, kind='slinear',
232232
bounds_error=bounds_error)
233233

234234
def _build_y(self, X, y, sample_weight):

0 commit comments

Comments
 (0)