Skip to content

Conversation

@jrbourbeau
Copy link
Contributor

Reference Issue

Fixes #9564

What does this implement/fix? Explain your changes.

Updates linear_model.LogisticRegressionCV to use the metrics.get_scorer function instead of the currently used metrics.SCORERS dictionary to get scoring metric callables.

Any other comments?

This PR also adds a test to check that a reasonable error message is being raised when an invalid value is passed to the scoring parameter in LogisticRegressionCV

@jrbourbeau jrbourbeau changed the title Updates LogisticRegressionCV to use get_scorer [MRG] Updates LogisticRegressionCV to use get_scorer Aug 16, 2017
@jnothman
Copy link
Member

Thanks!

@jnothman jnothman merged commit e1fb03c into scikit-learn:master Aug 16, 2017
@jrbourbeau jrbourbeau deleted the update_LogisticRegressionCV_get_scorer branch August 16, 2017 13:36
paulha pushed a commit to paulha/scikit-learn that referenced this pull request Aug 19, 2017
AishwaryaRK pushed a commit to AishwaryaRK/scikit-learn that referenced this pull request Aug 29, 2017
maskani-moh pushed a commit to maskani-moh/scikit-learn that referenced this pull request Nov 15, 2017
jwjohnson314 pushed a commit to jwjohnson314/scikit-learn that referenced this pull request Dec 18, 2017
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.

LogisticRegressionCV uses SCORERS instead of get_scorer

2 participants