mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-01 07:46:22 +02:00
FITC example: bound for lengthscale
This commit is contained in:
parent
d4e300b1a2
commit
ca9f9b43d6
1 changed files with 1 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue