sklearn.gaussian_process.kernels.Hyperparameter

class sklearn.gaussian_process.kernels.Hyperparameter[source]

A kernel hyperparameter’s specification in form of a namedtuple.

New in version 0.18.

Attributes:
name : string

Alias for field number 0

value_type : string

Alias for field number 1

bounds : pair of floats >= 0 or “fixed”

Alias for field number 2

n_elements : int, default=1

Alias for field number 3

fixed : bool, default: None

Alias for field number 4

Methods

count(value)
index(value, [start, [stop]]) Raises ValueError if the value is not present.
__init__($self, /, *args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

__call__($self, /, *args, **kwargs)

Call self as a function.

bounds

Alias for field number 2

count(value) → integer -- return number of occurrences of value
fixed

Alias for field number 4

index(value[, start[, stop]]) → integer -- return first index of value.

Raises ValueError if the value is not present.

n_elements

Alias for field number 3

name

Alias for field number 0

value_type

Alias for field number 1