mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-24 14:15:14 +02:00
fixed fixed kernel (aha!)
This commit is contained in:
parent
aa38e69930
commit
106f9ec8b8
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ class Fixed(Kernpart):
|
||||||
self.input_dim = input_dim
|
self.input_dim = input_dim
|
||||||
self.fixed_K = K
|
self.fixed_K = K
|
||||||
self.num_params = 1
|
self.num_params = 1
|
||||||
self.name = 'Fixed'
|
self.name = 'fixed'
|
||||||
self._set_params(np.array([variance]).flatten())
|
self._set_params(np.array([variance]).flatten())
|
||||||
|
|
||||||
def _get_params(self):
|
def _get_params(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue