8000 DOC Update doc for `min_samples` in HDBSCAN (#29263) · scikit-learn/scikit-learn@4bdd398 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4bdd398

Browse files
authored
DOC Update doc for min_samples in HDBSCAN (#29263)
1 parent cef803a commit 4bdd398

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sklearn/cluster/_hdbscan/_reachability.pyx

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ def mutual_reachability_graph(
6262
`CSR` format.
6363
6464
min_samples : int, default=5
65-
The number of points in a neighbourhood for a point to be considered
66-
a core point.
65+
The parameter `k` used to calculate the distance between a point
66+
`x_p` and its k-th nearest neighbor.
6767
6868
max_distance : float, default=0.0
6969
The distance which `np.inf` is replaced with. When the true mutual-

sklearn/cluster/_hdbscan/hdbscan.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -441,8 +441,8 @@ class HDBSCAN(ClusterMixin, BaseEstimator):
441441
as noise.
442442
443443
min_samples : int, default=None
444-
The number of samples in a neighborhood for a point
445-
to be considered as a core point. This includes the point itself.
444+
The parameter `k` used to calculate the distance between a point
445+
`x_p` and its k-th nearest neighbor.
446446
When `None`, defaults to `min_cluster_size`.
447447
448448
cluster_selection_epsilon : float, default=0.0

0 commit comments

Comments
 (0)
0