FITC example: bound for lengthscale

This commit is contained in:
Ricardo 2013-06-05 18:57:26 +01:00
parent d4e300b1a2
commit ca9f9b43d6

View file

@ -162,6 +162,7 @@ def FITC_crescent_data(num_inducing=10, seed=default_seed):
Y[Y.flatten()==-1]=0
m = GPy.models.FITCClassification(data['X'], Y,num_inducing=num_inducing)
m.constrain_bounded('.*len',1.,1e3)
m.ensure_default_constraints()
m['.*len'] = 3.
#m.update_likelihood_approximation()