Skip to content

Conversation

@vishwakftw
Copy link
Contributor

If batch_initial_conditions is passed, there is no need to set raw_samples as this argument is only used for the underlying initialization strategy when batch_initial_condition is None.

Test Plan:

Expect current tests to pass without issue.

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label May 20, 2021
@codecov
Copy link

codecov bot commented May 20, 2021

Codecov Report

Merging #801 (57e0c72) into master (fc05c14) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #801   +/-   ##
=======================================
  Coverage   99.98%   99.98%           
=======================================
  Files         106      106           
  Lines        7514     7516    +2     
=======================================
+ Hits         7513     7515    +2     
  Misses          1        1           
Impacted Files Coverage Δ
botorch/optim/optimize.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fc05c14...57e0c72. Read the comment docs.

@facebook-github-bot
Copy link
Contributor

@vishwakftw has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@vishwakftw has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot
Copy link
Contributor

@vishwakftw has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Contributor

@Balandat Balandat left a comment

Choose a reason for hiding this comment

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

some nits, test coverage

Summary:
If `batch_initial_conditions` is passed, there is no need to set `raw_samples` as this argument is only used for the underlying initialization strategy when `batch_initial_condition` is `None`.

Pull Request resolved: #801

Test Plan: Expect current tests to pass without issue.

Differential Revision: D28579215

Pulled By: vishwakftw

fbshipit-source-id: c417ce0e7b83a8c53dac3062f5589fb440f66470
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

@vishwakftw merged this pull request in a3df8ce.

@vishwakftw vishwakftw deleted the patch-1 branch May 21, 2021 16:16
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. Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants