pickling and caching

This commit is contained in:
Max Zwiessele 2014-03-31 12:45:09 +01:00
parent 60a071f18f
commit f3b74fa85f
28 changed files with 481 additions and 686 deletions

View file

@ -106,15 +106,3 @@ class SparseGP(GP):
return mu, var
def _getstate(self):
"""
Get the current state of the class,
"""
return GP._getstate(self) + [
self.Z,
self.num_inducing]
def _setstate(self, state):
self.num_inducing = state.pop()
self.Z = state.pop()
GP._setstate(self, state)