Skip to content

Conversation

@thomasjpfan
Copy link
Member

Reference Issues/PRs

Closes #27001

What does this implement/fix? Explain your changes.

This PR simplifies the handling of multi-metric scoring, by always converting scoring dicts to a _MultimetricScorer at the start of a public function call.

@thomasjpfan thomasjpfan changed the title CI Fix assign/unassign CI CLN Support _MultimetricScorer directly for internal methods Feb 4, 2024
@github-actions
Copy link

github-actions bot commented Feb 4, 2024

✔️ Linting Passed

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

Generated for commit: 0276c92. Link to the linter CI: here

Copy link
Member

@adrinjalali adrinjalali left a comment

Choose a reason for hiding this comment

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

This works. I wanted to do a similar thing while working on slep6, but it seemed dirty. I like this reverse if on _MultimetricScorer now.

@adrinjalali adrinjalali added the Quick Review For PRs that are quick to review label Feb 6, 2024
@adrinjalali
Copy link
Member

@OmarManzoor maybe you could have a look? Should be a quick review.

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 @thomasjpfan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor cross_validate to pass around _MultimetricScorer

3 participants