mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-14 06:22:38 +02:00
kern fix. All tests now pass
This commit is contained in:
parent
f627c0b1cd
commit
028fa93d36
2 changed files with 6 additions and 6 deletions
|
|
@ -329,9 +329,9 @@ class MRD(BayesianGPLVMMiniBatch):
|
|||
|
||||
def __getstate__(self):
|
||||
state = super(MRD, self).__getstate__()
|
||||
if state.has_key('kern'):
|
||||
if 'kern' in state:
|
||||
del state['kern']
|
||||
if state.has_key('likelihood'):
|
||||
if 'likelihood' in state:
|
||||
del state['likelihood']
|
||||
return state
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue