mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-26 05:16:24 +02:00
Update plotting_tests.py
This commit is contained in:
parent
4787b0dbd2
commit
cca642dd8c
1 changed files with 3 additions and 1 deletions
|
|
@ -101,7 +101,9 @@ def test_kernel():
|
|||
matplotlib.rcParams[u'text.usetex'] = False
|
||||
k = GPy.kern.RBF(5, ARD=True) + GPy.kern.Linear(3, active_dims=[0,2,4], ARD=True) + GPy.kern.Bias(2)
|
||||
k.randomize()
|
||||
k.plot_ARD(legend=True)
|
||||
k2 = GPy.kern.RBF(5, ARD=True) + GPy.kern.Linear(3, active_dims=[0,2,4], ARD=True) + GPy.kern.Bias(2) + GPy.kern.White(4)
|
||||
k2[:-1] = k[:]
|
||||
k2.plot_ARD([k2.white.name], legend=True)
|
||||
for do_test in _image_comparison(
|
||||
baseline_images=['kern_{}'.format(sub) for sub in ["ARD",]],
|
||||
extensions=extensions):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue