Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DOC numpy doc update for function check_memory #23039

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
Apr 6, 2022

Conversation

MarieSacksick
Copy link
Contributor

…eck_memory #21350

Reference Issues/PRs

Reference issue: 21350

What does this implement/fix? Explain your changes.

This fixes the numpydoc for the function check_memory in sklearn/utils/validation.py.

Any other comments?

Comment on lines 345 to 346
If string or None, the location on which we want to create the joblib.Memory \
interface.
Copy link
Member

@ArturoAmorQ ArturoAmorQ Apr 4, 2022

Choose a reason for hiding this comment

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

Suggested change
If string or None, the location on which we want to create the joblib.Memory \
interface.
If string, the location on which we want to create the `joblib.Memory`
interface. If None is given, no caching is done and the Memory object
is completely transparent.

Otherwise LGTM

Copy link
Member

Choose a reason for hiding this comment

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

I would even do

Suggested change
If string or None, the location on which we want to create the joblib.Memory \
interface.
- If string, the location where to create the `joblib.Memory` interface.
- If None, no caching is done and the Memory object is completely transparent.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for your suggestions! the PR is updated :)

@jeremiedbb jeremiedbb added No Changelog Needed Quick Review For PRs that are quick to review labels Apr 4, 2022
Copy link
Member

@jeremiedbb jeremiedbb left a comment

Choose a reason for hiding this comment

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

Thanks @MarieS-WiMLDS

@jeremiedbb jeremiedbb merged commit ddc8210 into scikit-learn:main Apr 6, 2022
jjerphan pushed a commit to jjerphan/scikit-learn that referenced this pull request Apr 29, 2022
@thomasjpfan thomasjpfan changed the title DOC numpy doc update for function sklearn.utils.validation.ch… DOC numpy doc update for function check_memory Jul 16, 2022
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