correcterd minor errors (imports etc)

This commit is contained in:
Max Zwiessele 2013-09-04 10:02:38 +01:00
parent acb06941b4
commit 7a68950e3e
4 changed files with 6 additions and 4 deletions

View file

@ -8,6 +8,7 @@ from parts.kernpart import Kernpart
import itertools
from parts.prod import Prod as prod
from matplotlib.transforms import offset_copy
import GPy
class kern(Parameterized):
def __init__(self, input_dim, parts=[], input_slices=None):

View file

@ -1,5 +1,6 @@
# Copyright (c) 2012, GPy authors (see AUTHORS.txt).
# Licensed under the BSD 3-clause license (see LICENSE.txt)
import numpy
class Kernpart(object):
@ -72,5 +73,5 @@ class Kernpart_inner(Kernpart):
Kernpart.__init__(self, input_dim)
# initialize cache
self._Z, self._mu, self._S = np.empty(shape=(3, 1))
self._X, self._X2, self._params = np.empty(shape=(3, 1))
self._Z, self._mu, self._S = numpy.empty(shape=(3, 1))
self._X, self._X2, self._params = numpy.empty(shape=(3, 1))