This commit is contained in:
Nicolo Fusi 2013-01-22 16:24:08 +00:00
parent 9acc9c3c3b
commit b01dd3d758
3 changed files with 3 additions and 3 deletions

View file

@ -65,7 +65,7 @@ class linear(kernpart):
self._X2cache = X2
self._dot_product = np.dot(X,X2.T)
else:
# print "Cache hit!"
#print "Cache hit!"
pass # TODO: insert debug message here (logging framework)

View file

@ -91,6 +91,6 @@ class warpedGP(GP_regression):
# just a quick fix until I figure out something smarter.
if in_unwarped_space:
mu = self.warping_function.f_inv(mu, self.warping_params)
var = self.warping_function.f_inv(var, self.warping_params)
var = self.warping_function.f_inv(var[:, None], self.warping_params)
return mu, var

View file

@ -81,7 +81,7 @@ class TanhWarpingFunction(WarpingFunction):
iterations: number of N.R. iterations
"""
y = y.copy()
z = np.ones_like(y)