Skip to content

Commit fdf5533

Browse files
DOC Ensures that cluster_optics_xi passes numpydoc validation (#22202)
1 parent be89eb7 commit fdf5533

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

sklearn/cluster/_optics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -673,13 +673,13 @@ def cluster_optics_xi(
673673
Parameters
674674
----------
675675
reachability : ndarray of shape (n_samples,)
676-
Reachability distances calculated by OPTICS (`reachability_`)
676+
Reachability distances calculated by OPTICS (`reachability_`).
677677
678678
predecessor : ndarray of shape (n_samples,)
679679
Predecessors calculated by OPTICS.
680680
681681
ordering : ndarray of shape (n_samples,)
682-
OPTICS ordered point indices (`ordering_`)
682+
OPTICS ordered point indices (`ordering_`).
683683
684684
min_samples : int > 1 or float between 0 and 1
685685
The same as the min_samples given to OPTICS. Up and down steep regions

sklearn/tests/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._optics.cluster_optics_xi",
1615
"sklearn.cluster._optics.compute_optics_graph",
1716
"sklearn.cluster._spectral.spectral_clustering",
1817
"sklearn.covariance._graph_lasso.graphical_lasso",

0 commit comments

Comments
 (0)