bask.utils
.construct_default_kernel¶
- bask.utils.construct_default_kernel(dimensions)[source]¶
Construct a Matern kernel as default kernel to be used in the optimizer.
- Parameters:
- dimensionslist of dimensions
Elements are skopt.space.Dimension instances (Real, Integer or Categorical) or any other valid value that defines skopt dimension (see skopt.Optimizer docs)
- Returns:
- kernelkernel object
The kernel specifying the covariance function of the GP used in the optimization.