Merge kernel source.

This commit is contained in:
Neil Lawrence 2014-04-23 12:21:05 +01:00
commit 643f338337
6 changed files with 70 additions and 59 deletions

View file

@ -7,16 +7,17 @@ from student_t import StudentT
from likelihood import Likelihood
from mixed_noise import MixedNoise
# TODO need to fix this in a config file.
try:
import sympy as sym
sympy_available=True
except ImportError:
sympy_available=False
if sympy_available:
# These are likelihoods that rely on symbolic.
from symbolic import Symbolic
from sstudent_t import SstudentT
from negative_binomial import Negative_binomial
from skew_normal import Skew_normal
from skew_exponential import Skew_exponential
# TODO need to add the files to the git repo!
#try:
#import sympy as sym
#sympy_available=True
#except ImportError:
#sympy_available=False
#if sympy_available:
## These are likelihoods that rely on symbolic.
#from symbolic import Symbolic
#from sstudent_t import SstudentT
#from negative_binomial import Negative_binomial
##from skew_normal import Skew_normal
#from skew_exponential import Skew_exponential
#from null_category import Null_category