From 4304c1dbe2f627f6adbbd5329a3baa22b9267997 Mon Sep 17 00:00:00 2001 From: Ricardo Date: Thu, 24 Jan 2013 16:55:15 +0000 Subject: [PATCH] Missing scale and location arguments. --- GPy/inference/likelihoods.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/GPy/inference/likelihoods.py b/GPy/inference/likelihoods.py index 5f0eb7ff..c9b36e10 100644 --- a/GPy/inference/likelihoods.py +++ b/GPy/inference/likelihoods.py @@ -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_new,Mean_new,Var_new,X_u,Mean_u,Var_u): """