mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-29 15:59:41 +02:00
added BGPLVM oil flow demo and changed default X_variance init
This commit is contained in:
parent
8ab1cfaf65
commit
eeb965d136
3 changed files with 30 additions and 2 deletions
|
|
@ -242,8 +242,8 @@ class opt_SGD(Optimizer):
|
|||
f, step, Nj = self.step_with_missing_data(f_fp, X, step, shapes, sparse_matrix)
|
||||
else:
|
||||
Nj = N
|
||||
# momentum_term = self.momentum * step # compute momentum using update(t-1)
|
||||
f, fp = f_fp(self.x_opt)
|
||||
# momentum_term = self.momentum * step # compute momentum using update(t-1)
|
||||
# step = self.learning_rate * fp # compute update(t)
|
||||
# self.x_opt -= step + momentum_term
|
||||
step = self.momentum * step + self.learning_rate * fp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue