We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a02da8 commit 211dfa4Copy full SHA for 211dfa4
sklearn/cluster/k_means_.py
@@ -1104,7 +1104,7 @@ class MiniBatchKMeans(KMeans):
1104
Number of samples to randomly sample for speeding up the
1105
initialization (sometimes at the expense of accuracy): the
1106
only algorithm is initialized by running a batch KMeans on a
1107
- random subset of the data. This needs to be larger than k.
+ random subset of the data. This needs to be larger than n_clusters.
1108
1109
init : {'k-means++', 'random' or an ndarray}, default: 'k-means++'
1110
Method for initialization, defaults to 'k-means++':
0 commit comments