Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Scienfitz committed Sep 7, 2024
1 parent 0aaf300 commit 737c937
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions baybe/recommenders/pure/bayesian/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ def get_surrogate(
measurements: pd.DataFrame,
) -> SurrogateProtocol:
"""Get the trained surrogate model."""
# This fit applies internal caching and does not necessarily involve computation
self._surrogate_model.fit(searchspace, objective, measurements)

return self._surrogate_model

def _setup_botorch_acqf(
Expand Down

0 comments on commit 737c937

Please sign in to comment.