Skip to content

DOC remove custom scorer from scratch from docs - #31890

Merged
OmarManzoor merged 1 commit into
scikit-learn:mainfrom
adrinjalali:scorer/custom
Aug 20, 2025
Merged

OmarManzoor merged 1 commit into
scikit-learn:mainfrom
adrinjalali:scorer/custom

Conversation

@adrinjalali

Copy link
Copy Markdown
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
@github-actions

github-actions Bot commented Aug 7, 2025

Copy link
Copy Markdown

✔️ Linting Passed

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

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

@virchan virchan 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! 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

virchan commented Aug 19, 2025

Copy link
Copy Markdown
Member

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

@OmarManzoor OmarManzoor left a comment

Copy link
Copy Markdown
Contributor

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
@adrinjalali
adrinjalali deleted the scorer/custom branch August 20, 2025 09:35
lucyleeow pushed a commit to lucyleeow/scikit-learn that referenced this pull request Aug 22, 2025
@jeremiedbb jeremiedbb mentioned this pull request Sep 3, 2025
13 tasks done
DeaMariaLeon pushed a commit to DeaMariaLeon/scikit-learn that referenced this pull request Sep 12, 2025
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