mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-07-17 16:41:04 +02:00
more samples for higher sampling accuracy
This commit is contained in:
parent
045dc6d152
commit
b1d7fc4745
1 changed files with 2 additions and 2 deletions
|
|
@ -105,7 +105,7 @@ class Test(unittest.TestCase):
|
||||||
|
|
||||||
def test_psi2(self):
|
def test_psi2(self):
|
||||||
for kern in self.kerns:
|
for kern in self.kerns:
|
||||||
Nsamples = self.Nsamples/300.
|
Nsamples = self.Nsamples/10.
|
||||||
psi2 = kern.psi2(self.Z, self.q_x_mean, self.q_x_variance)
|
psi2 = kern.psi2(self.Z, self.q_x_mean, self.q_x_variance)
|
||||||
K_ = np.zeros((self.num_inducing, self.num_inducing))
|
K_ = np.zeros((self.num_inducing, self.num_inducing))
|
||||||
diffs = []
|
diffs = []
|
||||||
|
|
@ -135,7 +135,7 @@ class Test(unittest.TestCase):
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
sys.argv = ['',
|
sys.argv = ['',
|
||||||
#'Test.test_psi0',
|
#'Test.test_psi0',
|
||||||
'Test.test_psi1',
|
#'Test.test_psi1',
|
||||||
'Test.test_psi2',
|
'Test.test_psi2',
|
||||||
]
|
]
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue