-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
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
fixes default values documentation in sklearn/mixture module #17476
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this 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
sklearn/mixture/_gaussian_mixture.py
Outdated
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
There was a problem hiding this comment.
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
Thank you @pardeep-singh and @violetr ! |
…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>
…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>
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