8000 fixes default values documentation in sklearn/mixture module by violetr · Pull Request #17476 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

fixes default values documentation in sklearn/mixture module #17476

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

Conversation

violetr
Copy link
Contributor
@violetr violetr commented Jun 6, 2020

Reference Issues/PRs

Related to #15761

What does this implement/fix? Explain your changes.

fixes default values documentation in sklearn/mixture (default=)

Any other comments?

cc @pardeep-singh, #dataumbrella

Copy link
Member
@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member
@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @violetr , one minor comment but LGTM

The method used to initialize the weights, the means and the
precisions.
Must be one of::

'kmeans' : responsibilities are initialized using kmeans.
'random' : responsibilities are initialized randomly.

weights_init : array-like, shape (n_components, ), optional
The user-provided initial weights, defaults to None.
weights_init : array-like, shape (n_components, ), default=None
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
weights_init : array-like, shape (n_components, ), default=None
weights_init : array-like of shape (n_components, ), default=None

same below and maybe other places

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed to array-like of shape

@thomasjpfan
Copy link
Member

Thank you @pardeep-singh and @violetr !

@thomasjpfan thomasjpfan merged commit d8be25f into scikit-learn:master Jun 6, 2020
viclafargue pushed a commit to viclafargue/scikit-learn that referenced this pull request Jun 26, 2020
…kit-learn#17476)

* fixes default values documentation in sklearn/mixture

* sklearn/mixtures extra changes to doc

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
jayzed82 pushed a commit to jayzed82/scikit-learn that referenced this pull request Oct 22, 2020
…kit-learn#17476)

* fixes default values documentation in sklearn/mixture

* sklearn/mixtures extra changes to doc

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Sign up for free to join this conversation on Git 69CB Hub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0