GPy now fails silently if sympy is not present

This commit is contained in:
James Hensman 2013-04-22 13:15:39 +01:00
parent 56ecd4782a
commit 698f52e5e3
2 changed files with 37 additions and 27 deletions

View file

@ -2,5 +2,9 @@
# Licensed under the BSD 3-clause license (see LICENSE.txt)
from constructors import rbf, Matern32, Matern52, exponential, linear, white, bias, finite_dimensional, spline, Brownian, rbf_sympy, sympykern, periodic_exponential, periodic_Matern32, periodic_Matern52, prod, prod_orthogonal, symmetric, coregionalise, rational_quadratic, fixed, rbfcos
from constructors import rbf, Matern32, Matern52, exponential, linear, white, bias, finite_dimensional, spline, Brownian, periodic_exponential, periodic_Matern32, periodic_Matern52, prod, prod_orthogonal, symmetric, coregionalise, rational_quadratic, fixed, rbfcos
try:
from constructors import rbf_sympy, sympykern # these depend on sympy
except:
pass
from kern import kern