Compute the derivative of the kernel function k(phi, phi) with respect to phi (the training point)
Source code in neps/optimizers/bayesian_optimization/kernels/graph_kernel.py
| def forward_t(self, gr2, gr1: list = None):
"""
Compute the derivative of the kernel function k(phi, phi*) with respect to phi* (the training point)
"""
raise NotImplementedError(
"The kernel gradient is not implemented for the graph kernel called!"
)
|