10BC0 FIX towards disregarding multi_class in the case of binary y by jnothman · Pull Request #11859 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@jnothman
Copy link
Member

This is not quite ready. Apparently just changing : to ... wasn't the quick fix I needed.

Copy link
Member Author
@jnothman jnothman left a comment

Choose a reason for hiding this comment

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

Hmm. I meant to have one commit for the revert of 4dafa52 and another for subsequent changes. It seems I failed in that.

multi_class = 'ovr'
# np.unique(y) gives labels in sorted order.
pos_class = classes[1]
if pos_class is None:
Copy link
Member

Choose a reason for hiding this comment

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

Took the liberty to push this if, which I thought was missing. Still some other issues with the coef_ shape.

@jnothman
Copy link
Member Author

Sorry, I'd completed the fix, but fell asleep.

@jnothman
Copy link
Member Author

Closing in preference for #11868

@jnothman jnothman closed this Aug 20, 2018
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.

2 participants

0