mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-07 19:12:40 +02:00
[link|unlink_parameter] renaming add_parameter to link_parameter
This commit is contained in:
parent
b9e897c50d
commit
4543fc3480
33 changed files with 90 additions and 83 deletions
|
|
@ -14,7 +14,7 @@ class Poly(Kern):
|
|||
def __init__(self, input_dim, variance=1., order=3., active_dims=None, name='poly'):
|
||||
super(Poly, self).__init__(input_dim, active_dims, name)
|
||||
self.variance = Param('variance', variance, Logexp())
|
||||
self.add_parameter(self.variance)
|
||||
self.link_parameter(self.variance)
|
||||
self.order=order
|
||||
|
||||
def K(self, X, X2=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue