Skip to content

Conversation

@lorentzenchr
Copy link
Member

Reference Issues/PRs

Fixes #15389, follow-up of #32747.

What does this implement/fix? Explain your changes.

This PR enables LogisticRegressionCV to correctly work when the CV folds do not contain all classes and the scoring argument is explicitly passed.

Any other comments?

I don't like my own solution (too much code), but it seems to work.

@github-actions
Copy link

github-actions bot commented Dec 1, 2025

✔️ Linting Passed

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

Generated for commit: 7b6637e. Link to the linter CI: here

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.

Negative Log Loss metric fails in LogisticRegressionCV when class is unobserved in CV fold

1 participant