mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-18 13:55:14 +02:00
americanized spellings
This commit is contained in:
parent
95cedc7e4e
commit
6a330db253
7 changed files with 80 additions and 81 deletions
|
|
@ -8,7 +8,7 @@ class Gaussian(likelihood):
|
|||
self.Z = 0. # a correction factor which accounts for the approximation made
|
||||
N, self.D = data.shape
|
||||
|
||||
#normalisation
|
||||
#normaliztion
|
||||
if normalize:
|
||||
self._mean = data.mean(0)[None,:]
|
||||
self._std = data.std(0)[None,:]
|
||||
|
|
@ -45,7 +45,7 @@ class Gaussian(likelihood):
|
|||
|
||||
def predictive_values(self,mu,var):
|
||||
"""
|
||||
Un-normalise the prediction and add the likelihood variance, then return the 5%, 95% interval
|
||||
Un-normalize the prediction and add the likelihood variance, then return the 5%, 95% interval
|
||||
"""
|
||||
mean = mu*self._std + self._mean
|
||||
true_var = (var + self._variance)*self._std**2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue