tidying in likelihoods

This commit is contained in:
James Hensman 2014-03-10 08:34:03 +00:00
parent 2876e5a07a
commit 5c7caef885
4 changed files with 23 additions and 53 deletions

View file

@ -60,10 +60,9 @@ def student_t_approx(optimize=True, plot=True):
m3['.*white'].constrain_fixed(1e-5)
m3.randomize()
debug = True
print m3
if debug:
m3.optimize(messages=1)
return m3
#TODO: remove
return m3
#Student t GP model on corrupt data
t_distribution = GPy.likelihoods.StudentT(deg_free=deg_free, sigma2=edited_real_sd)