mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-10 20:42:39 +02:00
plot_latent bug-fix in mrd
This commit is contained in:
parent
26260c355c
commit
8cdedf2edb
2 changed files with 3 additions and 2 deletions
|
|
@ -75,7 +75,8 @@ class kern(Parameterized):
|
||||||
if hasattr(p, 'ARD') and p.ARD:
|
if hasattr(p, 'ARD') and p.ARD:
|
||||||
if title is None:
|
if title is None:
|
||||||
ax.set_title('ARD parameters, %s kernel' % p.name)
|
ax.set_title('ARD parameters, %s kernel' % p.name)
|
||||||
|
else:
|
||||||
|
ax.set_title(title)
|
||||||
if p.name == 'linear':
|
if p.name == 'linear':
|
||||||
ard_params = p.variances
|
ard_params = p.variances
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
|
|
@ -315,7 +315,7 @@ class MRD(Model):
|
||||||
return fig
|
return fig
|
||||||
|
|
||||||
def plot_latent(self, fignum=None, ax=None, *args, **kwargs):
|
def plot_latent(self, fignum=None, ax=None, *args, **kwargs):
|
||||||
fig = self.gref.plot_X_1d(*args, **kwargs) # self._handle_plotting(fignum, ax, lambda i, g, ax: g.plot_latent(ax=ax, *args, **kwargs))
|
fig = self.gref.plot_latent(*args, **kwargs) # self._handle_plotting(fignum, ax, lambda i, g, ax: g.plot_latent(ax=ax, *args, **kwargs))
|
||||||
return fig
|
return fig
|
||||||
|
|
||||||
def _debug_plot(self):
|
def _debug_plot(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue