mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-28 22:36:24 +02:00
added initial test for warped gps using identity function
This commit is contained in:
parent
7fd8c9c556
commit
76bc0bec25
3 changed files with 15 additions and 6 deletions
|
|
@ -205,7 +205,8 @@ class MiscTests(unittest.TestCase):
|
|||
|
||||
def test_warped_gp(self):
|
||||
k = GPy.kern.RBF(1)
|
||||
m = GPy.models.WarpedGP(self.X, self.Y, kernel=k)
|
||||
warp = GPy.util.warping_functions.IdentityFunction()
|
||||
m = GPy.models.WarpedGP(self.X, self.Y, kernel=k, warping_function=warp)
|
||||
m.randomize()
|
||||
m.optimize()
|
||||
print(m)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue