mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-27 13:56:23 +02:00
minor
This commit is contained in:
parent
9acc9c3c3b
commit
b01dd3d758
3 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ class TanhWarpingFunction(WarpingFunction):
|
|||
iterations: number of N.R. iterations
|
||||
|
||||
"""
|
||||
|
||||
|
||||
y = y.copy()
|
||||
z = np.ones_like(y)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue