Skip to content

[MRG] DOC Description of X missing in KMeans.fit (#7772) #7783

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

Merged
merged 2 commits into from
Oct 31, 2016

Conversation

ditenberg
Copy link
Contributor

Addressed issue #7772:

Added "Training instances to cluster" as explanation in fit() methods in k_means_.py. Also made both docstring match in terms of parameter descriptions for X in fit(): "X : array-like or sparse matrix, shape=(n_samples, n_features)". This convention is according to that proposed by amueller in #3791.

@ditenberg
Copy link
Contributor Author

Hi @raghavrv, here is a new pull request with only the changes to the fit() methods in k_means_.py. I'm sorry for the confusion earlier I must have made a mistake when I was pushing to my forked repo and referenced the wrong issue number. I deleted my old branches I was working on to make a fresh one. This should be a clean pull request. Please let me know if there are anymore issues.

@amueller
Copy link
Member

LGTM, thanks!

@raghavrv
Copy link
Member

Thanks @ditenberg!

@ditenberg ditenberg deleted the fit_changedoc branch November 1, 2016 01:21
amueller pushed a commit to amueller/scikit-learn that referenced this pull request Nov 9, 2016
sergeyf pushed a commit to sergeyf/scikit-learn that referenced this pull request Feb 28, 2017
Sundrique pushed a commit to Sundrique/scikit-learn that referenced this pull request Jun 14, 2017
paulha pushed a commit to paulha/scikit-learn that referenced this pull request Aug 19, 2017
maskani-moh pushed a commit to maskani-moh/scikit-learn that referenced this pull request Nov 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants