mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-13 05:52:38 +02:00
BGPLVM example MATLAB compare
This commit is contained in:
parent
02b3f41680
commit
8fb9ab5610
2 changed files with 3 additions and 7 deletions
|
|
@ -96,9 +96,9 @@ class Bayesian_GPLVM(sparse_GP, GPLVM):
|
|||
print "\rWARNING: Caught LinAlgError, continueing without setting "
|
||||
if self._debug:
|
||||
self._savederrors.append(self.f_call)
|
||||
# if save_count > 10:
|
||||
# raise
|
||||
# self._set_params(self.oldps[-1], save_old=False, save_count=save_count + 1)
|
||||
if save_count > 10:
|
||||
raise
|
||||
self._set_params(self.oldps[-1], save_old=False, save_count=save_count + 1)
|
||||
|
||||
def dKL_dmuS(self):
|
||||
dKL_dS = (1. - (1. / (self.X_variance))) * 0.5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue