8000 Replacing log with log1p where applicable. by meetnaren · Pull Request #11428 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

Replacing log with log1p where applicable. #11428

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 7 commits into from
Jul 14, 2018

Conversation

meetnaren
Copy link
Contributor

Reference Issues/PRs

What does this implement/fix? Explain your changes.

Any other comments?

@qinhanmin2014
Copy link
Member

It seems that the PR is not complete, please carefully follow #11424 (comment).

Copy link
Member
@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.

You're right... I was lax to not check, while on my phone.

Copy link
Member
@qinhanmin2014 qinhanmin2014 left a comment

Choose a reason for hiding this comment

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

LGTM. Will merge when green.

@qinhanmin2014 qinhanmin2014 merged commit eeee6a5 into scikit-learn:master Jul 14, 2018
@amueller
Copy link
Member

This is not the right fix and is likely to lead to performance issues, I think. You shouldn't use the numpy function in cython code, you should be using libc.math.log1p (still profiling though)

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.

4 participants
0