Permalink
Browse files
DOC Remove outdated doc in KBinsDiscretizer
- Loading branch information
Showing
with
0 additions
and
2 deletions.
-
+0
−2
sklearn/preprocessing/_discretization.py
|
|
@@ -191,8 +191,6 @@ def fit(self, X, y=None): |
|
|
|
|
|
def _validate_n_bins(self, n_features): |
|
|
"""Returns n_bins_, the number of bins per feature. |
|
|
|
|
|
Also ensures that ignored bins are zero. |
|
|
""" |
|
|
orig_bins = self.n_bins |
|
|
if isinstance(orig_bins, numbers.Number): |
|
|
|
0 comments on commit
59a1ef7