mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-24 14:15:14 +02:00
Commit before switch to master.
This commit is contained in:
parent
e5c995d721
commit
82b38895be
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ class Sympykern(Kern):
|
||||||
return spkern(self._sp_k+other._sp_k)
|
return spkern(self._sp_k+other._sp_k)
|
||||||
|
|
||||||
def _gen_code(self):
|
def _gen_code(self):
|
||||||
|
#fn_theano = theano_function([self.arg_lists], [self._sp_k + self.derivatives], dims={x: 1}, dtypes={x_0: 'float64', z_0: 'float64'})
|
||||||
self._K_function = lambdify(self.arg_list, self._sp_k, 'numpy')
|
self._K_function = lambdify(self.arg_list, self._sp_k, 'numpy')
|
||||||
for key in self.derivatives.keys():
|
for key in self.derivatives.keys():
|
||||||
setattr(self, '_K_diff_' + key, lambdify(self.arg_list, self.derivatives[key], 'numpy'))
|
setattr(self, '_K_diff_' + key, lambdify(self.arg_list, self.derivatives[key], 'numpy'))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue