syne_tune.optimizer.schedulers.searchers.bayesopt.gpautograd.likelihood module
- class syne_tune.optimizer.schedulers.searchers.bayesopt.gpautograd.likelihood.MarginalLikelihood(prefix=None, params=None)[source]
Bases:
Block
Interface for marginal likelihood of Gaussian-linear model.
- forward(data)[source]
Overrides to implement forward computation using
NDArray
. Only accepts positional arguments. Parameters ———- *args : list of NDArrayInput tensors.
- param_encoding_pairs()[source]
Return a list of tuples with the Gluon parameters of the likelihood and their respective encodings
- Return type:
List
[tuple
]
- box_constraints_internal()[source]
- Return type:
Dict
[str
,Tuple
[float
,float
]]- Returns:
Box constraints for all the underlying parameters
- reset_params(random_state)[source]
Reset hyperparameters to their initial values (or resample them).
- class syne_tune.optimizer.schedulers.searchers.bayesopt.gpautograd.likelihood.GaussianProcessMarginalLikelihood(kernel, mean=None, target_transform=None, initial_noise_variance=None, encoding_type=None, **kwargs)[source]
Bases:
MarginalLikelihood
Marginal likelihood of Gaussian process with Gaussian likelihood
- Parameters:
kernel (
KernelFunction
) – Kernel functionmean (
Optional
[MeanFunction
]) – Mean function which depends on the input X only (by default, a scalar fitted while optimizing the likelihood)target_transform (
Optional
[ScalarTargetTransform
]) – Invertible transform of target values y to latent values z, which are then modelled as Gaussian. Defaults to the identityinitial_noise_variance – A scalar to initialize the value of the residual noise variance
- forward(data)[source]
Overrides to implement forward computation using
NDArray
. Only accepts positional arguments. Parameters ———- *args : list of NDArrayInput tensors.