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()
index() Raises ValueError if the value is not present.
__init__(self, /, *args, **kwargs)

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

__call__(*args, **kwargs)

Call self as a function.

bounds

Alias for field number 2

count()
fixed

Alias for field number 4

index()

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