Skip to content

Conversation

@jeremiedbb
Copy link
Member

No description provided.

@jeremiedbb jeremiedbb added No Changelog Needed Quick Review For PRs that are quick to review labels Jun 1, 2023
@jeremiedbb jeremiedbb added this to the 1.3 milestone Jun 1, 2023
Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

LGTM

@adrinjalali adrinjalali merged commit b2f7e81 into scikit-learn:main Jun 1, 2023
manudarmi pushed a commit to primait/scikit-learn that referenced this pull request Jun 12, 2023
Comment on lines 596 to 598
if isinstance(estimator, type):
msg = (
"Passing a class was deprecated in version 0.23 "
Copy link
Member

@StefanieSenger StefanieSenger Oct 2, 2023

Choose a reason for hiding this comment

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

I just found this part of the code and wondered about it:

    if isinstance(estimator, type):
        msg = (
            "Passing a class was deprecated in version 0.23 "
            "and isn't supported anymore from 0.24."
            "Please pass an instance instead."
        )
        raise TypeError(msg)

II thought that maybe it can be removed as well?

REDVM pushed a commit to REDVM/scikit-learn that referenced this pull request Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants