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

Make all benchmark problems take an observe_noise_stds argument #2600

Closed
wants to merge 1 commit into from

Conversation

esantorella
Copy link
Contributor

Summary:
Context:

One might expect observe_noise_stds to apply to either single-objective or multi-objective problems and observe_noise_sd applies only to single-objective problems. In reality, problems that derive from BoTorch synthetic test functions take an argument observe_noise_sd while those that derive from surrogates have observe_noise_stds. I find this needlessly confusing, especially given that we don't have any problems where some outputs have observed noise and others don't, and we might want to use that for either type of problem in the future.

This PR:

  • Gives all problems the argument observe_noise_stds only
  • Updates call sites, mainly for SingleObjectiveBenchmarkProblem.

Note: Similar to D60194654, breaks backward compatibility

Note: Docstrings are updated in the next diff.

Differential Revision: D60241406

Summary:
Context:

One might expect `observe_noise_stds` to apply to either single-objective or multi-objective problems and `observe_noise_sd` applies only to single-objective problems. In reality, problems that derive from BoTorch synthetic test functions take an argument `observe_noise_sd` while those that derive from surrogates have `observe_noise_stds`. I find this needlessly confusing, especially given that we don't have any problems where some outputs have observed noise and others don't, and we might want to use that for either type of problem in the future.

This PR:

* Gives all problems the argument `observe_noise_stds` only
* Updates call sites, mainly for `SingleObjectiveBenchmarkProblem.`

Note: Similar to D60194654, breaks backward compatibility

Note: Docstrings are updated in the next diff.

Differential Revision: D60241406
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jul 25, 2024
@facebook-github-bot
Copy link
Contributor

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

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.20%. Comparing base (3a44dad) to head (95963d6).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2600   +/-   ##
=======================================
  Coverage   95.20%   95.20%           
=======================================
  Files         495      495           
  Lines       47748    47745    -3     
=======================================
- Hits        45458    45456    -2     
+ Misses       2290     2289    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 1ab07a7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants