Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: Removed uniform method from kmeans2 doc #5795

Merged
merged 1 commit into from Feb 2, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 1 addition & 4 deletions scipy/cluster/vq.py
Expand Up @@ -689,17 +689,14 @@ def kmeans2(data, k, iter=10, thresh=1e-5, minit='random',
(not used yet)
minit : str, optional
Method for initialization. Available methods are 'random',
'points', 'uniform', and 'matrix':
'points', and 'matrix':

'random': generate k centroids from a Gaussian with mean and
variance estimated from the data.

'points': choose k observations (rows) at random from data for
the initial centroids.

'uniform': generate k observations from the data from a uniform
distribution defined by the data set (unsupported).

'matrix': interpret the k parameter as a k by M (or length k
array for one-dimensional data) array of initial centroids.
missing : str, optional
Expand Down