Skip to content
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

[BUG] Fix dynamic make_forecasting_scorer for newer sklearn metrics #5717

Merged
merged 5 commits into from Jan 16, 2024

Conversation

fkiraly
Copy link
Collaborator

@fkiraly fkiraly commented Jan 9, 2024

Fixes #5715.

The issue with sklearn metrics is coming from their decorator which no longer allows inspection of admissible arguments via python native signature.

Question for reviewers: is there an sklearn native way to inspect permissible signature, without reading private attriutes?

@fkiraly fkiraly added bugfix Fixes a known bug or removes unintended behavior module:metrics&benchmarking metrics and benchmarking modules labels Jan 9, 2024
@fkiraly fkiraly merged commit 4a70683 into main Jan 16, 2024
54 checks passed
@fkiraly fkiraly deleted the fix-sklearn-dyn-scorer branch January 16, 2024 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fixes a known bug or removes unintended behavior module:metrics&benchmarking metrics and benchmarking modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] make_forecasting_scorer fails for wrapped sklearn metrics on newer sklearn versions
1 participant