Skip to content

Commit

Permalink
DOC Add versionadded to set_config (#12196)
Browse files Browse the repository at this point in the history
  • Loading branch information
qinhanmin2014 authored and jnothman committed Oct 15, 2018
1 parent eb0e4a0 commit 8c3ff26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sklearn/_config.py
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 comments on commit 8c3ff26

Please sign in to comment.