mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-10 20:42:39 +02:00
Fixing examples
This commit is contained in:
parent
9480f71fe4
commit
9b535e6915
2 changed files with 2 additions and 2 deletions
|
|
@ -150,7 +150,7 @@ def tuto_kernel_overview(optimize=True, plot=True):
|
|||
def model_interaction(optimize=True, plot=True):
|
||||
X = np.random.randn(20,1)
|
||||
Y = np.sin(X) + np.random.randn(*X.shape)*0.01 + 5.
|
||||
k = GPy.kern.rbf(1) + GPy.kern.bias(1)
|
||||
k = GPy.kern.RBF(1) + GPy.kern.Bias(1)
|
||||
m = GPy.models.GPRegression(X, Y, kernel=k)
|
||||
return m
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ def flatten_nested(lst):
|
|||
result.append(element)
|
||||
return result
|
||||
|
||||
@nottest
|
||||
#@nottest
|
||||
def test_models():
|
||||
optimize=False
|
||||
plot=True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue