Merge branch 'master' into newGP

This commit is contained in:
Ricardo Andrade 2013-01-25 18:27:59 +00:00
commit a8738984b3
6 changed files with 586 additions and 2 deletions

View file

@ -9,7 +9,7 @@ import pylab as pb
from ..util.plot import gpplot
class likelihood:
def __init__(self,Y):
def __init__(self,Y,location=0,scale=1):
"""
Likelihood class for doing Expectation propagation
@ -18,6 +18,8 @@ class likelihood:
"""
self.Y = Y
self.N = self.Y.shape[0]
self.location = location
self.scale = scale
def plot1Da(self,X,mean,var,Z=None,mean_Z=None,var_Z=None):
"""