Missing scale and location arguments.

This commit is contained in:
Ricardo 2013-01-24 16:55:15 +00:00
parent d286ffe633
commit 4304c1dbe2

View file

@ -9,7 +9,7 @@ import pylab as pb
from ..util.plot import gpplot from ..util.plot import gpplot
class likelihood: class likelihood:
def __init__(self,Y): def __init__(self,Y,location=0,scale=1):
""" """
Likelihood class for doing Expectation propagation Likelihood class for doing Expectation propagation
@ -18,6 +18,8 @@ class likelihood:
""" """
self.Y = Y self.Y = Y
self.N = self.Y.shape[0] self.N = self.Y.shape[0]
self.location = location
self.scale = scale
def plot1Da(self,X_new,Mean_new,Var_new,X_u,Mean_u,Var_u): def plot1Da(self,X_new,Mean_new,Var_new,X_u,Mean_u,Var_u):
""" """