Skip to content

DOC remove custom scorer from scratch from docs #31890

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

Merged
merged 1 commit into from
Aug 20, 2025

Conversation

adrinjalali
Copy link
Member

Closes #31889

If we really want to allow a custom scorer object, it probably should inherit from _Scorer or _BaseScorer and those need to be public, but that can be a separate PR.

@adrinjalali adrinjalali marked this pull request as ready for review August 7, 2025 11:10
Copy link

github-actions bot commented Aug 7, 2025

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 3043c73. Link to the linter CI: here

Copy link
Member

@virchan virchan left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks, @adrinjalali!

I also agree that a separate PR to allow a custom scorer object would be a good idea.

@virchan virchan added Quick Review For PRs that are quick to review Waiting for Second Reviewer First reviewer is done, need a second one! labels Aug 18, 2025
@virchan
Copy link
Member

virchan commented Aug 19, 2025

@OmarManzoor, would you like to have a look and merge this?

Copy link
Contributor

@OmarManzoor OmarManzoor left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @adrinjalali

@OmarManzoor OmarManzoor merged commit 17bf627 into scikit-learn:main Aug 20, 2025
47 checks passed
@adrinjalali adrinjalali deleted the scorer/custom branch August 20, 2025 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Quick Review For PRs that are quick to review Waiting for Second Reviewer First reviewer is done, need a second one!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

We don't support func(estimator, X, y, ...) across the board as a scorer
3 participants