pytorch / botorch

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

Use expm1 in Bilog outcome transform #2541

Closed saitcakmak closed 1 week ago

saitcakmak commented 1 week ago

Summary: Similar to https://github.com/pytorch/botorch/pull/2540, replaces exp(x) - 1 with the numerically more stable expm1.

Differential Revision: D62813775

facebook-github-bot commented 1 week ago

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

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 (238f05a) to head (3fc6895). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2541 +/- ## ======================================= 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@509bccc2295cb4546b9decd8ba53375164f7111a.