[magnification] mostly plotting and some model corrections for _predictive_variable

This commit is contained in:
Max Zwiessele 2015-09-02 15:46:40 +01:00
parent 26bdcfa82e
commit ca60ad3195
7 changed files with 54 additions and 33 deletions

View file

@ -181,3 +181,18 @@ class SparseGP(GP):
var[i] = np.diag(var_)+p0-t2
return mu, var
def plot_magnification(self, labels=None, which_indices=None,
resolution=50, ax=None, marker='o', s=40,
fignum=None, legend=True,
plot_limits=None,
aspect='auto', updates=False, plot_inducing=True, **kwargs):
import sys
assert "matplotlib" in sys.modules, "matplotlib package has not been imported."
from ..plotting.matplot_dep import dim_reduction_plots
return dim_reduction_plots.plot_magnification(self, labels, which_indices,
resolution, ax, marker, s,
fignum, plot_inducing, legend,
plot_limits, aspect, updates, **kwargs)