Skip to content

Commit e504dc6

Browse files
DOC fix incorrect default for random_state in estimate_bandwidth docstring (scikit-learn#34291)
Co-authored-by: Stefanie Senger <91849487+StefanieSenger@users.noreply.github.com>
1 parent bf2dfd4 commit e504dc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sklearn/cluster/_mean_shift.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def estimate_bandwidth(X, *, quantile=0.3, n_samples=None, random_state=0, n_job
5858
n_samples : int, default=None
5959
The number of samples to use. If not given, all samples are used.
6060
61-
random_state : int, RandomState instance, default=None
61+
random_state : int, RandomState instance, default=0
6262
The generator used to randomly select the samples from input points
6363
for bandwidth estimation. Use an int to make the randomness
6464
deterministic.

0 commit comments

Comments
 (0)