mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-29 14:56:24 +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
|
|
@ -50,7 +50,7 @@ class Coregionalize(Kern):
|
|||
else:
|
||||
assert kappa.shape==(self.output_dim, )
|
||||
self.kappa = Param('kappa', kappa, Logexp())
|
||||
self.add_parameters(self.W, self.kappa)
|
||||
self.link_parameters(self.W, self.kappa)
|
||||
|
||||
def parameters_changed(self):
|
||||
self.B = np.dot(self.W, self.W.T) + np.diag(self.kappa)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue