Skip to content
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

add stable logsumexp #522

Merged
merged 11 commits into from
Jan 14, 2019
Merged

add stable logsumexp #522

merged 11 commits into from
Jan 14, 2019

Conversation

ahartikainen
Copy link
Contributor

Implements stable logsumexp when b>0 also can use b_inv which is better than 1/x when x is large.

@aloctavodia
Copy link
Contributor

LGTM!

@ahartikainen
Copy link
Contributor Author

I will merge this now. It's tests against scipy implementation (our function is faster), and it returns dtypes correctly for floats.

@ahartikainen ahartikainen merged commit 0b9bb6c into master Jan 14, 2019
@aloctavodia aloctavodia deleted the bugfix/logsumexp branch January 14, 2019 23:02
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