Skip to content

API Deprecate positional arguments in semi_supervised module#16974

Merged
adrinjalali merged 3 commits intoscikit-learn:masterfrom
thomasjpfan:keyword_only_semi_supervised
Apr 22, 2020
Merged

API Deprecate positional arguments in semi_supervised module#16974
adrinjalali merged 3 commits intoscikit-learn:masterfrom
thomasjpfan:keyword_only_semi_supervised

Conversation

@thomasjpfan
Copy link
Copy Markdown
Member

Reference Issues/PRs

Towards #15005

@thomasjpfan thomasjpfan added this to the 0.23 milestone Apr 20, 2020
Copy link
Copy Markdown
Member

@adrinjalali adrinjalali left a comment

Choose a reason for hiding this comment

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

I'm happy with this. @jnothman may want to have kernel positional?

@thomasjpfan
Copy link
Copy Markdown
Member Author

Since kernel could be callable, I would prefer it being a keyword only.

@jnothman
Copy link
Copy Markdown
Member

Since kernel could be callable, I would prefer it being a keyword only.

even then the name or signature of the callable would clearly mark it as a kernel.

Copy link
Copy Markdown
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

I would agree with Joel that kernel could be positional
but LGTM anyway

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

* API Keyword only for semi_supervised

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

* API Keyword only for semi_supervised

* CLN Address comments
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.

4 participants