GPComponentFactoryProtocol¶
- class baybe.surrogates.gaussian_process.components.generic.GPComponentFactoryProtocol[source]¶
Bases:
Protocol,Generic[_T_co]A protocol defining the interface for Gaussian process component factories.
Public methods
__init__(*args, **kwargs)__call__(searchspace, objective, measurements)Create a Gaussian process component for the given recommendation context.
- __call__(searchspace: SearchSpace, objective: Objective, measurements: DataFrame)[source]¶
Create a Gaussian process component for the given recommendation context.
- Parameters:
searchspace (
SearchSpace) – The optimization search space.objective (
Objective) – The optimization objective.measurements (
DataFrame) – The available experimentation data.
- Return type:
TypeVar(_T_co, bound=Kernel|FitCriterion, covariant=True)- Returns:
The constructed Gaussian process component.
- __init__(*args, **kwargs)¶