Thanks to visit codestin.com
Credit goes to github.com

Skip to content

FIX Allow BaseEstimator.get_params to handle type type params - #24017

Merged
glemaitre merged 6 commits into
scikit-learn:mainfrom
hsorsky:allow-BaseEstimator-get_params-to-handle-type-type-params
Jul 29, 2022
Merged

FIX Allow BaseEstimator.get_params to handle type type params#24017
glemaitre merged 6 commits into
scikit-learn:mainfrom
hsorsky:allow-BaseEstimator-get_params-to-handle-type-type-params

Conversation

@hsorsky

@hsorsky hsorsky commented Jul 26, 2022

Copy link
Copy Markdown
Contributor

Reference Issues/PRs

Fixes #24016

What does this implement/fix? Explain your changes.

Adds type type estimator param handling to get_params

Any other comments?

None

@Micky774 Micky774 added the Quick Review For PRs that are quick to review label Jul 26, 2022

@glemaitre glemaitre left a comment

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.

LGTM. We would need an entry in the changelog thought.

@hsorsky

hsorsky commented Jul 28, 2022

Copy link
Copy Markdown
Contributor Author

We would need an entry in the changelog thought.

I pattern matched what I've seen in previous PRs (e.g. #24015) but am still getting a failing "Check Changelog" CI test - not sure what I've done wrong here. Should I have put in v1.2.rst instead? Any guidance would be appreciated.

Comment thread doc/whats_new/v1.1.rst Outdated
@glemaitre glemaitre changed the title Allow BaseEstimator.get_params to handle type type params API Allow BaseEstimator.get_params to handle type type params Jul 29, 2022
@glemaitre glemaitre changed the title API Allow BaseEstimator.get_params to handle type type params FIX Allow BaseEstimator.get_params to handle type type params Jul 29, 2022
@glemaitre
glemaitre merged commit 626b460 into scikit-learn:main Jul 29, 2022
@glemaitre

Copy link
Copy Markdown
Member

All good. Thanks @hsorsky

@thomasjpfan thomasjpfan added this to the 1.1.2 milestone Jul 29, 2022
glemaitre added a commit to glemaitre/scikit-learn that referenced this pull request Aug 4, 2022
glemaitre added a commit that referenced this pull request Aug 5, 2022
…4017)

Co-authored-by: Guillaume Lemaitre <[email protected]>
Co-authored-by: Thomas J. Fan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Quick Review For PRs that are quick to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BaseEstimator.get_params can't handle type type params when deep = True

4 participants