8000 DOC Add versionadded to set_config by qinhanmin2014 · Pull Request #12196 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

DOC Add versionadded to set_config #12196

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 1 commit into from
Sep 29, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion sklearn/_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ def get_config():
def set_config(assume_finite=None, working_memory=None):
"""Set global scikit-learn configuration

.. versionadded:: 0.19

Parameters
----------
assume_finite : bool, optional
Expand All @@ -37,7 +39,6 @@ def set_config(assume_finite=None, working_memory=None):
computation time and memory on expensive operations that can be
performed in chunks. Global default: 1024.

.. versionadded:: 0.19
"""
if assume_finite is not None:
_global_config['assume_finite'] = assume_finite
Expand Down
0