mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-09 12:02:38 +02:00
added keywords to predict in warped gps because they are used in the plotting method
This commit is contained in:
parent
7a7d563576
commit
45321f536b
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ class WarpedGP(GP):
|
||||||
def plot_warping(self):
|
def plot_warping(self):
|
||||||
self.warping_function.plot(self.Y_untransformed.min(), self.Y_untransformed.max())
|
self.warping_function.plot(self.Y_untransformed.min(), self.Y_untransformed.max())
|
||||||
|
|
||||||
def predict(self, Xnew, which_parts='all', pred_init=None):
|
def predict(self, Xnew, which_parts='all', pred_init=None, Y_metadata=None, full_cov=False):
|
||||||
# normalize X values
|
# normalize X values
|
||||||
# Xnew = (Xnew.copy() - self._Xoffset) / self._Xscale
|
# Xnew = (Xnew.copy() - self._Xoffset) / self._Xscale
|
||||||
mu, var = GP._raw_predict(self, Xnew)
|
mu, var = GP._raw_predict(self, Xnew)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue