diff --git a/GPy/kern/src/kern.py b/GPy/kern/src/kern.py index 537d0f7c..931591fd 100644 --- a/GPy/kern/src/kern.py +++ b/GPy/kern/src/kern.py @@ -3,7 +3,6 @@ import sys import numpy as np from ...core.parameterization.parameterized import Parameterized -from paramz.core.observable_array import ObsAr from paramz.caching import Cache_this from .kernel_slice_operations import KernCallsViaSlicerMeta from functools import reduce diff --git a/GPy/kern/src/rbf.py b/GPy/kern/src/rbf.py index 5f3fc97a..9059ccc0 100644 --- a/GPy/kern/src/rbf.py +++ b/GPy/kern/src/rbf.py @@ -42,6 +42,7 @@ class RBF(Stationary): def dK2_drdr_diag(self): return -self.variance # as the diagonal of r is always filled with zeros + def __getstate__(self): dc = super(RBF, self).__getstate__() if self.useGPU: