Skip to content

Commit 2591f32

Browse files
kedikutusufacebook-github-bot
authored andcommitted
Typos fixes. (#3030)
Summary: <!-- Thank you for sending the PR! We appreciate you spending the time to make BoTorch better. Help us understand your motivation by explaining why you decided to make this change. You can learn more about contributing to BoTorch here: https://github.com/meta-pytorch/botorch/blob/main/CONTRIBUTING.md --> ## Motivation I optimized the "optimziation"s. ### Have you read the [Contributing Guidelines on pull requests](https://github.com/meta-pytorch/botorch/blob/main/CONTRIBUTING.md#pull-requests)? Yes Pull Request resolved: #3030 Test Plan: (Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!) ## Related PRs (If this PR adds or changes functionality, please take some time to update the docs at https://github.com/meta-pytorch/botorch, and link to your PR here.) Reviewed By: esantorella, SebastianAment Differential Revision: D83569812 Pulled By: Balandat fbshipit-source-id: b1047cff9a06c3de8a392d6b27881d15570544c3
1 parent 003c794 commit 2591f32

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

botorch/optim/initializers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def gen_batch_initial_conditions(
255255
generator: Callable[[int, int, int | None], Tensor] | None = None,
256256
fixed_X_fantasies: Tensor | None = None,
257257
) -> Tensor:
258-
r"""Generate a batch of initial conditions for random-restart optimziation.
258+
r"""Generate a batch of initial conditions for random-restart optimization.
259259
260260
TODO: Support t-batches of initial conditions.
261261

botorch/optim/parameter_constraints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def make_scipy_bounds(
5151
lower_bounds: float | Tensor | None = None,
5252
upper_bounds: float | Tensor | None = None,
5353
) -> Bounds | None:
54-
r"""Creates a scipy Bounds object for optimziation
54+
r"""Creates a scipy Bounds object for optimization
5555
5656
Args:
5757
X: `... x d` tensor

botorch/optim/utils/timeout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def minimize_with_timeout(
3636
3737
This method calls scipy.optimize.minimize with all arguments forwarded
3838
verbatim. The only difference is that if provided a `timeout_sec` argument,
39-
it will automatically stop the optimziation after the timeout is reached.
39+
it will automatically stop the optimization after the timeout is reached.
4040
4141
Internally, this is achieved by automatically constructing a wrapper callback
4242
method that is injected to the scipy.optimize.minimize call and that keeps

0 commit comments

Comments
 (0)