Skip to content

Commit 9915f8a

Browse files
jduerholtfacebook-github-bot
authored andcommitted
fix docstring in get_acquisition_function (#1965)
Summary: ## Motivation When working through the release notes for 0.9.0, I encountered this faulty docstring. ### Have you read the [Contributing Guidelines on pull requests](https://github.com/pytorch/botorch/blob/main/CONTRIBUTING.md#pull-requests)? Yes. Pull Request resolved: #1965 Test Plan: Not needed. Reviewed By: saitcakmak Differential Revision: D47993389 Pulled By: Balandat fbshipit-source-id: 65a18a108115718468b1c2da223c16dc6c0bc1a8
1 parent 85cec4c commit 9915f8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

botorch/acquisition/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ def get_acquisition_function(
6565
constraints: A list of callables, each mapping a Tensor of dimension
6666
`sample_shape x batch-shape x q x m` to a Tensor of dimension
6767
`sample_shape x batch-shape x q`, where negative values imply
68-
feasibility. Used only for qEHVI and qNEHVI.
68+
feasibility. Used for all acquisition functions except qSR and qUCB.
6969
eta: The temperature parameter for the sigmoid function used for the
7070
differentiable approximation of the constraints. In case of a float the
7171
same eta is used for every constraint in constraints. In case of a
7272
tensor the length of the tensor must match the number of provided
7373
constraints. The i-th constraint is then estimated with the i-th
74-
eta value. Used only for qEHVI and qNEHVI.
74+
eta value. Used for all acquisition functions except qSR and qUCB.
7575
mc_samples: The number of samples to use for (q)MC evaluation of the
7676
acquisition function.
7777
seed: If provided, perform deterministic optimization (i.e. the

0 commit comments

Comments
 (0)