pytorch / botorch

Bayesian optimization in PyTorch
https://botorch.org/
MIT License
3.07k stars 392 forks source link

Use expm1 for log-normal transforms #2540

Closed SebastianAment closed 1 week ago

SebastianAment commented 1 week ago

Summary: Replacing exp(x) - 1 with the numerically more stable expm1.

Differential Revision: D62789111

facebook-github-bot commented 1 week ago

This pull request was exported from Phabricator. Differential Revision: D62789111

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.98%. Comparing base (e9ce11f) to head (081b979). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2540 +/- ## ======================================= Coverage 99.98% 99.98% ======================================= Files 193 193 Lines 17010 17010 ======================================= Hits 17007 17007 Misses 3 3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

facebook-github-bot commented 1 week ago

This pull request has been merged in pytorch/botorch@238f05a8b1ec52a6fa58a8121074a2728feecb08.