Skip to content

[MRG] fix refit=False error in LogisticRegressionCV #14087

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 3 commits into from
Jun 14, 2019

Conversation

NicolasHug
Copy link
Member

Fixes #14059

The main issue was that the default value for multiclass went from 'ovr' to 'auto', and we were checking 'self.multiclass == 'ovr' instead of multiclass == 'ovr'. The bug was latent all along.

Thanks @thomasjpfan for the debugging session

Copy link
Member

@ogrisel ogrisel 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 for the fix.

@ogrisel ogrisel added this to the 0.21.3 milestone Jun 14, 2019
Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

LGTM

@ogrisel ogrisel merged commit 36b688e into scikit-learn:master Jun 14, 2019
@ogrisel
Copy link
Member

ogrisel commented Jun 14, 2019

Merged! Is there already someone keeping track of fixes to backport for 0.20.3?

jnothman pushed a commit to jnothman/scikit-learn that referenced this pull request Jun 24, 2019
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IndexError thrown with LogisticRegressionCV and refit=False
3 participants