mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-08 03:22:38 +02:00
likelihoods are now Parameterized objects
This commit is contained in:
parent
3db9d01734
commit
127340d17d
5 changed files with 15 additions and 9 deletions
|
|
@ -34,6 +34,8 @@ class Gaussian(likelihood):
|
|||
self._variance = np.asarray(variance) + 1.
|
||||
self._set_params(np.asarray(variance))
|
||||
|
||||
super(Gaussian, self).__init__()
|
||||
|
||||
def set_data(self, data):
|
||||
self.data = data
|
||||
self.N, D = data.shape
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue