Skip to content

Commit 3f5cb65

Browse files
committed
Add check input
Signed-off-by: Adam Li <adam2392@gmail.com>
1 parent 3b7b450 commit 3f5cb65

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sklearn/ensemble/_forest.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,8 +731,6 @@ def predict_quantiles(self, X, quantiles=0.5, method="nearest"):
731731
method : str, optional
732732
The method to interpolate, by default 'linear'. Can be any keyword
733733
argument accepted by :func:`~np.quantile`.
734-
check_input : bool, optional
735-
Whether or not to check input, by default True.
736734
737735
Returns
738736
-------

sklearn/tree/_classes.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,8 @@ def get_leaf_node_samples(self, X, check_input=True):
602602
----------
603603
X : array-like of shape (n_samples, n_features)
604604
Dataset to apply the forest to.
605+
check_input : bool, default=True
606+
Allow to bypass several input checking.
605607
606608
Returns
607609
-------

0 commit comments

Comments
 (0)