mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-08 15:05:15 +02:00
some work on ep, and some messing with wher ethe derivatives are computed (in the model, not the inference
This commit is contained in:
parent
b6edc1a298
commit
0cf1e44c68
4 changed files with 40 additions and 5 deletions
|
|
@ -70,7 +70,7 @@ class GP(Model):
|
|||
|
||||
def parameters_changed(self):
|
||||
self.posterior, self._log_marginal_likelihood, grad_dict = self.inference_method.inference(self.kern, self.X, self.likelihood, self.Y, Y_metadata=self.Y_metadata)
|
||||
self._dL_dK = grad_dict['dL_dK']
|
||||
self.kern.update_gradients_full(grad_dict['dL_dK'])
|
||||
|
||||
def log_likelihood(self):
|
||||
return self._log_marginal_likelihood
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue