Skip to content

Commit

Permalink
Rename k to n_clusters in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel committed Sep 30, 2014
1 parent 3a02da8 commit 211dfa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sklearn/cluster/k_means_.py
Expand Up @@ -1104,7 +1104,7 @@ class MiniBatchKMeans(KMeans):
Number of samples to randomly sample for speeding up the
initialization (sometimes at the expense of accuracy): the
only algorithm is initialized by running a batch KMeans on a
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.
init : {'k-means++', 'random' or an ndarray}, default: 'k-means++'
Method for initialization, defaults to 'k-means++':
Expand Down

0 comments on commit 211dfa4

Please sign in to comment.