mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-24 14:15:14 +02:00
workin gon linear kernel
This commit is contained in:
parent
0c92fca31a
commit
8b2f39450b
6 changed files with 83 additions and 140 deletions
|
|
@ -54,7 +54,7 @@ class RBF(Kern):
|
|||
self.variance = Param('variance', variance, Logexp())
|
||||
|
||||
self.lengthscale = Param('lengthscale', lengthscale, Logexp())
|
||||
self.lengthscale.add_observer(self, self.update_lengthscale)
|
||||
self.lengthscale.add_observer(self.update_lengthscale)
|
||||
self.update_lengthscale(self.lengthscale)
|
||||
|
||||
self.add_parameters(self.variance, self.lengthscale)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue