Skip to content

Commit c00e46b

Browse files
authored
DOC Ensures that function passes numpydoc validation: affininity_propagation (#21778)
1 parent a611fed commit c00e46b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

maint_tools/test_docstrings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
numpydoc_validation = pytest.importorskip("numpydoc.validate")
1313

1414
FUNCTION_DOCSTRING_IGNORE_LIST = [
15-
"sklearn.cluster._affinity_propagation.affinity_propagation",
1615
"sklearn.cluster._kmeans.kmeans_plusplus",
1716
"sklearn.cluster._mean_shift.estimate_bandwidth",
1817
"sklearn.cluster._mean_shift.get_bin_seeds",

sklearn/cluster/_affinity_propagation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def affinity_propagation(
7171
of estimated clusters that stops the convergence.
7272
7373
max_iter : int, default=200
74-
Maximum number of iterations
74+
Maximum number of iterations.
7575
7676
damping : float, default=0.5
7777
Damping factor between 0.5 and 1.

0 commit comments

Comments
 (0)