Skip to content

Commit

Permalink
Refine docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianSosic committed Aug 28, 2024
1 parent 8e688c1 commit ed32ab8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions baybe/surrogates/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def _make_parameter_scaler_factory(
"""Return the scaler factory to be used for the given parameter.
This method is supposed to be overridden by subclasses to implement their
custom parameter scaling logic.
custom parameter scaling logic. Otherwise, parameters will be normalized.
"""
from botorch.models.transforms.input import Normalize

Expand All @@ -134,7 +134,7 @@ def _make_target_scaler_factory() -> type[OutcomeTransform] | None:
"""Return the scaler factory to be used for target scaling.
This method is supposed to be overridden by subclasses to implement their
custom target scaling logic.
custom target scaling logic. Otherwise, targets will be standardized.
"""
from botorch.models.transforms.outcome import Standardize

Expand Down Expand Up @@ -245,7 +245,7 @@ def _posterior(self, candidates_comp_scaled: Tensor, /) -> Posterior:
the same scale as the given input.
Args:
candidates_comp_scaled: A tensor containing **pre-scaled** parameter
candidates_comp_scaled: A tensor containing **scaled** parameter
configurations in **computational representation**, as defined through
the input scaler obtained via
:meth:`baybe.surrogates.base.Surrogate._make_input_scaler`.
Expand Down

0 comments on commit ed32ab8

Please sign in to comment.