baybe.utils.botorch_wrapper.botorch_function_wrapper

baybe.utils.botorch_wrapper.botorch_function_wrapper(test_function: SyntheticTestFunction)[source]

Turn a BoTorch test function into a format accepted by lookup in simulations.

See baybe.simulation for details.

Parameters:

test_function (SyntheticTestFunction) – The synthetic test function from BoTorch. See https://botorch.org/api/test_functions.html.

Returns:

A wrapped version of the provided function.