Skip to content

API Deprecate positional arguments in random_projection#16995

Merged
adrinjalali merged 2 commits intoscikit-learn:masterfrom
thomasjpfan:keyword_only_random_project
Apr 22, 2020
Merged

API Deprecate positional arguments in random_projection#16995
adrinjalali merged 2 commits intoscikit-learn:masterfrom
thomasjpfan:keyword_only_random_project

Conversation

@thomasjpfan
Copy link
Copy Markdown
Member

Reference Issues/PRs

Toward #15005

@thomasjpfan thomasjpfan added this to the 0.23 milestone Apr 22, 2020

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
Copy Markdown
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