-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
ENH Add missing base.is_clusterer()
function
#28936
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
ENH Add missing base.is_clusterer()
function
#28936
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is not introducing clusterer
as a new thing, and it already exists, I'm okay with it.
Needs a changelog introducing the new function. |
Thanks for the hint. Added to changelog... |
BTW: I added this new function to the changelog of version 1.5. |
Yes, the changelog would need to be moved. |
Was necessary to get the 1.6 changelog file
Moved the changelog entry from version 1.5 to 1.6. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should also add the function into the API reference in the file doc/modules/classes.rst
under the function of the module sklearn.base
.
To get the doc/api_reference.py file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks @ChVeen
Do we need the |
LGTM, I'm enabling auto-merge. Thanks @ChVeen! |
Reference Issues/PRs
Fixes #28960
What does this implement/fix? Explain your changes.
This PR proposes to add the missing
base.is_clusterer()
function analogously tobase.is_classifier()
.There is a user demand for this as can be seen in discussion #28904.
The missing unit test for
base.is_regressor()
is added as well.Any other comments?