mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-09 20:12:38 +02:00
Merge branch 'mrd' into devel
This commit is contained in:
commit
9b182eb3f8
8 changed files with 324 additions and 56 deletions
|
|
@ -52,12 +52,14 @@ class kern(parameterised):
|
|||
parameterised.__init__(self)
|
||||
|
||||
|
||||
def plot_ARD(self, ax=pb.gca()):
|
||||
def plot_ARD(self, ax=None):
|
||||
"""
|
||||
If an ARD kernel is present, it bar-plots the ARD parameters
|
||||
|
||||
|
||||
"""
|
||||
if ax is None:
|
||||
ax = pb.gca()
|
||||
for p in self.parts:
|
||||
if hasattr(p, 'ARD') and p.ARD:
|
||||
ax.set_title('ARD parameters, %s kernel' % p.name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue