mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-15 06:52:39 +02:00
renamed TanhWarpingFunction to TanhFunction
This commit is contained in:
parent
50f72f0294
commit
b266b578cd
3 changed files with 5 additions and 5 deletions
|
|
@ -319,7 +319,7 @@ class MiscTests(unittest.TestCase):
|
|||
|
||||
import matplotlib.pyplot as plt
|
||||
warp_k = GPy.kern.RBF(1)
|
||||
warp_f = GPy.util.warping_functions.TanhWarpingFunction(n_terms=2)
|
||||
warp_f = GPy.util.warping_functions.TanhFunction(n_terms=2)
|
||||
warp_m = GPy.models.WarpedGP(X[:, None], Y[:, None], kernel=warp_k, warping_function=warp_f)
|
||||
|
||||
m = GPy.models.GPRegression(X[:, None], Y[:, None])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue