deephyper.skopt.utils.Matern#
- class deephyper.skopt.utils.Matern(*args: Any, **kwargs: Any)[source]#
-
Methods
Computes gradient of K(x, X_train) with respect to x
- gradient_x(x, X_train)[source]#
Computes gradient of K(x, X_train) with respect to x
Args: x: array-like, shape=(n_features,)
A single test point.
- X_train: array-like, shape=(n_samples, n_features)
Training data used to fit the gaussian process.
Returns: gradient_x: array-like, shape=(n_samples, n_features)
Gradient of K(x, X_train) with respect to x.