Minor changes

This commit is contained in:
Ricardo 2013-06-05 18:01:53 +01:00
parent ab6a87a4d5
commit 616e8c9026
5 changed files with 10 additions and 14 deletions

View file

@ -67,6 +67,7 @@ class GP(GPBase):
For a Gaussian likelihood, no iteration is required:
this function does nothing
"""
self.likelihood.restart()
self.likelihood.fit_full(self.kern.K(self.X))
self._set_params(self._get_params()) # update the GP