Skip to content

Commit c885d05

Browse files
SamuelGabrielfacebook-github-bot
authored andcommitted
fix batched lbfgsb docs (#2891)
Summary: ## Motivation Currenlty our main tests fail, due to a problem with the docs. ### Have you read the [Contributing Guidelines on pull requests](https://github.com/pytorch/botorch/blob/main/CONTRIBUTING.md#pull-requests)? Yes. Pull Request resolved: #2891 Test Plan: I have not changed code, just comments. Reviewed By: saitcakmak Differential Revision: D77047544 Pulled By: SamuelGabriel fbshipit-source-id: 8ae499baf9d232e5616b5d0c205b7cfaf9a36601
1 parent f79fcb0 commit c885d05

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

botorch/generation/batched_lbfgs_b.py

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
# noqa
22
# flake8: noqa
33
"""
4-
Functions
5-
---------
6-
.. autosummary::
7-
:toctree: generated/
8-
9-
fmin_l_bfgs_b
10-
4+
Just the standard L-BFGS-B algorithm, as implemented in scipy.optimize.minimize.
115
"""
126

137
## License for the Python wrapper
@@ -527,14 +521,13 @@ class LbfgsInvHessProduct(LinearOperator):
527521
----------
528522
sk : array_like, shape=(n_corr, n)
529523
Array of `n_corr` most recent updates to the solution vector.
530-
(See [1]).
531524
yk : array_like, shape=(n_corr, n)
532-
Array of `n_corr` most recent updates to the gradient. (See [1]).
525+
Array of `n_corr` most recent updates to the gradient.
533526
534527
References
535528
----------
536-
.. [1] Nocedal, Jorge. "Updating quasi-Newton matrices with limited
537-
storage." Mathematics of computation 35.151 (1980): 773-782.
529+
* Nocedal, Jorge. "Updating quasi-Newton matrices with limited storage."
530+
Mathematics of computation 35.151 (1980): 773-782.
538531
539532
"""
540533

0 commit comments

Comments
 (0)