mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-21 14:05:14 +02:00
an afternoon's work on the laplace approximation
This commit is contained in:
parent
2ff7e286ee
commit
f653bc430e
6 changed files with 120 additions and 225 deletions
|
|
@ -325,7 +325,6 @@ class Model(Parameterized):
|
|||
if self._fail_count >= self._allowed_failures:
|
||||
raise e
|
||||
self._fail_count += 1
|
||||
import ipdb;ipdb.set_trace()
|
||||
obj_grads = np.clip(-self._transform_gradients(self._log_likelihood_gradients() + self._log_prior_gradients()), -1e100, 1e100)
|
||||
return obj_grads
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue