mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-11 15:15:15 +02:00
[svgp] python 3.x fix for next
This commit is contained in:
parent
3dd3b1dd6a
commit
80aea4412e
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ class SVGP(SparseGP):
|
|||
"""
|
||||
Return a new batch of X and Y by taking a chunk of data from the complete X and Y
|
||||
"""
|
||||
i = self.slicer.next()
|
||||
i = next(self.slicer)
|
||||
return self.X_all[i], self.Y_all[i]
|
||||
|
||||
def stochastic_grad(self, parameters):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue