smac.model.gaussian_process.kernels.hamming_kernel

Classes

HammingKernel([length_scale, ...])

Hamming kernel implementation.

Interfaces

class smac.model.gaussian_process.kernels.hamming_kernel.HammingKernel(length_scale=1.0, length_scale_bounds=(1e-05, 100000.0), operate_on=None, has_conditions=False, prior=None)[source]

Bases: AbstractKernel, StationaryKernelMixin, NormalizedKernelMixin, Kernel

Hamming kernel implementation.

property hyperparameter_length_scale: Hyperparameter

Hyperparameter of the length scale.

Return type:

Hyperparameter

property meta: dict[str, Any]

Returns the meta data of the created object. This method calls the get_params method to collect the parameters of the kernel.

Return type:

dict[str, Any]