Skip to content

Commit 61f23fa

Browse files
Mathews-Tomglemaitre
authored andcommitted
DOC Ensure check_paired_arrays passes numpydoc validation (#23944)
1 parent 28df12e commit 61f23fa

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

sklearn/metrics/pairwise.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ def check_paired_arrays(X, Y):
210210
safe_Y : {array-like, sparse matrix} of shape (n_samples_Y, n_features)
211211
An array equal to Y if Y was not None, guaranteed to be a numpy array.
212212
If Y was None, safe_Y will be a pointer to X.
213-
214213
"""
215214
X, Y = check_pairwise_arrays(X, Y)
216215
if X.shape != Y.shape:

sklearn/tests/test_docstrings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
"sklearn.metrics.cluster._supervised.rand_score",
4949
"sklearn.metrics.cluster._supervised.v_measure_score",
5050
"sklearn.metrics.pairwise.additive_chi2_kernel",
51-
"sklearn.metrics.pairwise.check_paired_arrays",
5251
"sklearn.metrics.pairwise.chi2_kernel",
5352
"sklearn.metrics.pairwise.cosine_similarity",
5453
"sklearn.metrics.pairwise.distance_metrics",

0 commit comments

Comments
 (0)