Skip to content

Commit 855ee19

Browse files
committed
Add quantile
Signed-off-by: Adam Li <adam2392@gmail.com>
1 parent 21ccb30 commit 855ee19

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sklearn/ensemble/_forest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ def predict_quantiles(self, X, quantiles=0.5, method="nearest"):
730730
The quantiles at which to evaluate, by default 0.5 (median).
731731
method : str, optional
732732
The method to interpolate, by default 'linear'. Can be any keyword
733-
argument accepted by :func:`np.quantile`.
733+
argument accepted by :func:`~np.quantile`.
734734
check_input : bool, optional
735735
Whether or not to check input, by default True.
736736

sklearn/tree/_classes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ def predict_quantiles(self, X, quantiles=0.5, method="nearest", check_input=True
641641
The quantiles at which to evaluate, by default 0.5 (median).
642642
method : str, optional
643643
The method to interpolate, by default 'linear'. Can be any keyword
644-
argument accepted by :func:`np.quantile`.
644+
argument accepted by :func:`~np.quantile`.
645645
check_input : bool, optional
646646
Whether or not to check input, by default True.
647647

0 commit comments

Comments
 (0)