surrogate.kernels.ConstantKernel

surrogate.kernels.ConstantKernel(
    constant_value=1.0,
    constant_value_bounds=(1e-05, 100000.0),
)

Constant kernel.

Can be used as a scaling factor (e.g. 2.0 * RBF()) or as part of a sum (e.g. RBF() + 1.0).

Parameters

Name Type Description Default
constant_value float The constant value. Defaults to 1.0. 1.0
constant_value_bounds tuple The lower and upper bound on constant_value. Defaults to (1e-5, 1e5). (1e-05, 100000.0)