mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-27 14:25:16 +02:00
changes tie_param to tie_params
This commit is contained in:
parent
4b9064bb0e
commit
5b86fce1b3
6 changed files with 27 additions and 8 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
|
||||
|
|
|
|||
|
|
@ -138,7 +138,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