Skip to content

Commit

Permalink
Add reference to docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianSosic committed Jul 3, 2024
1 parent c8c465c commit 78e3938
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion baybe/acquisition/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ def to_botorch(
searchspace: SearchSpace,
measurements: pd.DataFrame,
):
"""Create the botorch-ready representation of the function."""
"""Create the botorch-ready representation of the function.
The required structure of `measurements` is specified in
:meth:`babye.recommenders.base.RecommenderProtocol.recommend`.
"""
import botorch.acquisition as botorch_acqf_module

acqf_cls = getattr(botorch_acqf_module, self.__class__.__name__)
Expand Down

0 comments on commit 78e3938

Please sign in to comment.