10000 DOC Ensures that VotingClassifier passes numpydoc validation (#20948) · baam25simo/scikit-learn@fbd4890 · GitHub
[go: up one dir, main page]

Skip to content

Commit fbd4890

Browse files
authored
DOC Ensures that VotingClassifier passes numpydoc validation (scikit-learn#20948)
1 parent ea787bf commit fbd4890

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

maint_tools/test_docstrings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@
8888
"TruncatedSVD",
8989
"TweedieRegressor",
9090
"VarianceThreshold",
91-
"VotingClassifier",
9291
]
9392

9493

sklearn/ensemble/_voting.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,6 @@ def fit(self, X, y, sample_weight=None):
305305
-------
306306
self : object
307307
Returns the instance itself.
308-
309308
"""
310309
check_classification_targets(y)
311310
if isinstance(y, np.ndarray) and len(y.shape) > 1 and y.shape[1] > 1:

0 commit comments

Comments
 (0)
0