Skip to content

Commit 2982edc

Browse files
committed
Release
1 parent 6b76c61 commit 2982edc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lineartree/_classes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ def _grow(self, X, y, weights=None):
335335

336336
# extract quantiles
337337
bins = np.linspace(0, 1, self.max_bins)[1:-1]
338-
bins = np.quantile(X, bins, axis=0, interpolation='midpoint')
338+
bins = np.quantile(X, bins, axis=0)
339339
bins = list(bins.T)
340340
bins = [np.unique(X[:, c]) if c in self._categorical_features
341341
else np.unique(q) for c, q in enumerate(bins)]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
HERE = pathlib.Path(__file__).parent
55

6-
VERSION = '0.3.4'
6+
VERSION = '0.3.5'
77
PACKAGE_NAME = 'linear-tree'
88
AUTHOR = 'Marco Cerliani'
99
AUTHOR_EMAIL = '[email protected]'

0 commit comments

Comments
 (0)