Skip to content

Commit 2cc12c6

Browse files
authored
DOC ensure IsolationForest passes numpydoc validation (#20437)
1 parent b0cac53 commit 2cc12c6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

maint_tools/test_docstrings.py

-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@
5959
"HistGradientBoostingRegressor",
6060
"HuberRegressor",
6161
"IncrementalPCA",
62-
"IsolationForest",
6362
"Isomap",
6463
"IsotonicRegression",
6564
"IterativeImputer",

sklearn/base.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -789,8 +789,8 @@ def fit_predict(self, X, y=None):
789789
790790
Parameters
791791
----------
792-
X : {array-like, sparse matrix, dataframe} of shape \
793-
(n_samples, n_features)
792+
X : {array-like, sparse matrix} of shape (n_samples, n_features)
793+
The input samples.
794794
795795
y : Ignored
796796
Not used, present for API consistency by convention.

0 commit comments

Comments
 (0)