mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-15 06:52:39 +02:00
Merge branch 'master' of github.com:SheffieldML/GPy
This commit is contained in:
commit
387ee97d73
12 changed files with 125 additions and 10 deletions
|
|
@ -62,7 +62,7 @@ def oil():
|
|||
|
||||
# Contrain all parameters to be positive
|
||||
m.constrain_positive('')
|
||||
m.tie_param('lengthscale')
|
||||
m.tie_params('lengthscale')
|
||||
m.update_likelihood_approximation()
|
||||
|
||||
# Optimize
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ def tuto_kernel_overview():
|
|||
|
||||
k.constrain_positive('var')
|
||||
k.constrain_fixed(np.array([1]),1.75)
|
||||
k.tie_param('len')
|
||||
k.tie_params('len')
|
||||
k.unconstrain('white')
|
||||
k.constrain_bounded('white',lower=1e-5,upper=.5)
|
||||
print k
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue