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 Alias for field number 0
value_type Alias for field number 1
bounds Alias for field number 2
n_elements Alias for field number 3
fixed Alias for field number 4

Methods

count(…)
index((value, [start, …) 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