mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-21 14:05:14 +02:00
correcterd minor errors (imports etc)
This commit is contained in:
parent
acb06941b4
commit
7a68950e3e
4 changed files with 6 additions and 4 deletions
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue