mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-21 14:05:14 +02:00
removed randomness from inference tests by setting np.seed
This commit is contained in:
parent
0883c2e556
commit
affd538687
2 changed files with 2 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ import GPy
|
|||
class InferenceXTestCase(unittest.TestCase):
|
||||
|
||||
def genData(self):
|
||||
np.random.seed(1)
|
||||
D1,D2,N = 12,12,50
|
||||
|
||||
x = np.linspace(0, 4 * np.pi, N)[:, None]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue