Skip to content

Commit cece90e

Browse files
melemo2thomasjpfan
andauthored
DOC Ensures that get_bin_seeds passes numpydoc validation (#22018)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
1 parent 9189ff2 commit cece90e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

sklearn/cluster/_mean_shift.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def mean_shift(
200200

201201

202202
def get_bin_seeds(X, bin_size, min_bin_freq=1):
203-
"""Finds seeds for mean_shift.
203+
"""Find seeds for mean_shift.
204204
205205
Finds seeds by first binning data onto a grid whose lines are
206206
spaced bin_size apart, and then choosing those bins with at least

sklearn/tests/test_docstrings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
FUNCTION_DOCSTRING_IGNORE_LIST = [
1515
"sklearn.cluster._kmeans.kmeans_plusplus",
16-
"sklearn.cluster._mean_shift.get_bin_seeds",
1716
"sklearn.cluster._optics.cluster_optics_xi",
1817
"sklearn.cluster._optics.compute_optics_graph",
1918
"sklearn.cluster._spectral.spectral_clustering",

0 commit comments

Comments
 (0)