Skip to content
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

API Deprecate positional arguments in random_projection #16995

Merged

Conversation

thomasjpfan
Copy link
Member

Reference Issues/PRs

Toward #15005

@thomasjpfan thomasjpfan added this to the 0.23 milestone Apr 22, 2020
@@ -48,7 +49,8 @@
"johnson_lindenstrauss_min_dim"]


def johnson_lindenstrauss_min_dim(n_samples, eps=0.1):
@_deprecate_positional_args
def johnson_lindenstrauss_min_dim(n_samples, *, eps=0.1):
Copy link
Member

Choose a reason for hiding this comment

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

I'd say both, or none?

@adrinjalali adrinjalali merged commit 79df406 into scikit-learn:master Apr 22, 2020
gio8tisu pushed a commit to gio8tisu/scikit-learn that referenced this pull request May 15, 2020
…#16995)

* API Deprecate positional arguments in random_projection

* CLN Address comments
viclafargue pushed a commit to viclafargue/scikit-learn that referenced this pull request Jun 26, 2020
…#16995)

* API Deprecate positional arguments in random_projection

* CLN Address comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants