BotorchKernelFactory

class baybe.surrogates.gaussian_process.presets.botorch.BotorchKernelFactory[source]

Bases: _PureKernelFactory

A factory providing BoTorch kernels.

Public methods

__init__([parameter_selector])

Method generated by attrs for class BotorchKernelFactory.

get_parameter_names(searchspace)

Get the names of the parameters to be considered by the kernel.

Public attributes and properties

parameter_selector

An optional selector to specify which parameters are considered by the kernel.

__init__(parameter_selector: str | type[Parameter] | Collection[str] | Collection[type[Parameter]] | ParameterSelectorProtocol | None = None)

Method generated by attrs for class BotorchKernelFactory.

For details on the parameters, see Public attributes and properties.

get_parameter_names(searchspace: SearchSpace)

Get the names of the parameters to be considered by the kernel.

Return type:

tuple[str, ...]

parameter_selector: ParameterSelectorProtocol | None

An optional selector to specify which parameters are considered by the kernel.