mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-26 13:26:22 +02:00
[plotting] more test updates and check for errors
This commit is contained in:
parent
a238aa157f
commit
c79f00d91a
8 changed files with 3 additions and 1 deletions
|
|
@ -350,7 +350,9 @@ def test_sparse():
|
|||
m = GPy.models.SparseGPRegression(X, Y, X_variance=np.ones_like(X)*0.1)
|
||||
#m.optimize()
|
||||
#m.plot_inducing()
|
||||
m.plot_data()
|
||||
_, ax = plt.subplots()
|
||||
m.plot_data(ax=ax)
|
||||
m.plot_data_error(ax=ax)
|
||||
for do_test in _image_comparison(baseline_images=['sparse_gp_{}'.format(sub) for sub in ['data_error']], extensions=extensions):
|
||||
yield (do_test, )
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue