Skip to content

fixes default values documentation in sklearn/mixture module#17476

Merged
thomasjpfan merged 3 commits intoscikit-learn:masterfrom
violetr:doc_fixdefaultvalues_mixture
Jun 6, 2020
Merged

fixes default values documentation in sklearn/mixture module#17476
thomasjpfan merged 3 commits intoscikit-learn:masterfrom
violetr:doc_fixdefaultvalues_mixture

Conversation

@violetr
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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


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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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 GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants