Skip to content

[MRG] Used scipy.special.expit for the inverse of the logit function#12931

Merged
jnothman merged 2 commits intoscikit-learn:masterfrom
RonLek:master
Jan 8, 2019
Merged

[MRG] Used scipy.special.expit for the inverse of the logit function#12931
jnothman merged 2 commits intoscikit-learn:masterfrom
RonLek:master

Conversation

@RonLek
Copy link
Copy Markdown
Contributor

@RonLek RonLek commented Jan 6, 2019

Reference Issues/PRs

Fixes #12914

What does this implement/fix? Explain your changes.

Updates the inverse of logit function with the use of expit function which makes the code simpler and faster.

Any other comments?

@RonLek RonLek changed the title Used scipy.special.expit for the inverse of the logit function [MRG] Used scipy.special.expit for the inverse of the logit function Jan 6, 2019
Copy link
Copy Markdown
Member

@rth rth left a comment

Choose a reason for hiding this comment

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

Thanks @RonLek .

LGTM but Travis CI is failing due to #12934 so we would need to fix that issue before merging this.

Copy link
Copy Markdown
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.

Some nitpicks, but other than that, LGTM.

@jnothman jnothman merged commit e0697b0 into scikit-learn:master Jan 8, 2019
@jnothman
Copy link
Copy Markdown
Member

jnothman commented Jan 8, 2019

Thanks!

xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 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.

Use scipy.special.expit for the inverse of the logit function

5 participants