mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-13 05:52:38 +02:00
[ssgplvm] linear kernel
This commit is contained in:
parent
b65da11df5
commit
dad476faf6
7 changed files with 162 additions and 104 deletions
|
|
@ -169,7 +169,7 @@ class Pickleable(object):
|
|||
else:
|
||||
pickle.dump(self, f, protocol)
|
||||
|
||||
#===========================================================================
|
||||
#===========================================================================
|
||||
# copy and pickling
|
||||
#===========================================================================
|
||||
def copy(self):
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ class SpikeAndSlabPosterior(VariationalPosterior):
|
|||
else:
|
||||
return super(VariationalPrior, self).__getitem__(s)
|
||||
|
||||
def plot(self, *args):
|
||||
def plot(self, *args, **kwargs):
|
||||
"""
|
||||
Plot latent space X in 1D:
|
||||
|
||||
|
|
@ -169,4 +169,4 @@ class SpikeAndSlabPosterior(VariationalPosterior):
|
|||
import sys
|
||||
assert "matplotlib" in sys.modules, "matplotlib package has not been imported."
|
||||
from ...plotting.matplot_dep import variational_plots
|
||||
return variational_plots.plot_SpikeSlab(self,*args)
|
||||
return variational_plots.plot_SpikeSlab(self,*args, **kwargs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue