mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-21 14:05:14 +02:00
Check for sympy
This commit is contained in:
parent
292e076a9a
commit
970e133bca
1 changed files with 18 additions and 14 deletions
|
|
@ -2,8 +2,12 @@
|
|||
# Licensed under the BSD 3-clause license (see LICENSE.txt)
|
||||
|
||||
import numpy as np
|
||||
import sympy as sym
|
||||
from sympy.utilities.lambdify import lambdify
|
||||
try:
|
||||
import sympy as sym
|
||||
sympy_available=True
|
||||
from sympy.utilities.lambdify import lambdify
|
||||
except ImportError:
|
||||
sympy_available=False
|
||||
import link_functions
|
||||
from scipy import stats, integrate
|
||||
from scipy.special import gammaln, gamma, erf, polygamma
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue