[doc] some changes to the doc, using mathjax some additions in math

This commit is contained in:
Max Zwiessele 2015-09-08 14:01:54 +01:00
parent bcc1e7c8d4
commit 6996912184
11 changed files with 244 additions and 121 deletions

View file

@ -88,7 +88,7 @@ class Test(unittest.TestCase):
k.randomize()
p = Parabola(.3)
p.randomize()
Y = p.f(X) + np.random.multivariate_normal(np.zeros(X.shape[0]), k.K(X))[:,None] + np.random.normal(0, .1, (X.shape[0], 1))
Y = p.f(X) + np.random.multivariate_normal(np.zeros(X.shape[0]), k.K(X)+np.eye(X.shape[0])*1e-8)[:,None] + np.random.normal(0, .1, (X.shape[0], 1))
m = GPy.models.GPRegression(X, Y, mean_function=p)
m.randomize()
assert(m.checkgrad())