mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-11 13:02:38 +02:00
[deprecated] deprecated spelling mistake in wishart embedding
This commit is contained in:
parent
346cb4693e
commit
b4a32a8cb1
1 changed files with 6 additions and 2 deletions
|
|
@ -395,9 +395,9 @@ class GP(Model):
|
||||||
var_jac = compute_cov_inner(self.posterior.woodbury_inv)
|
var_jac = compute_cov_inner(self.posterior.woodbury_inv)
|
||||||
return mean_jac, var_jac
|
return mean_jac, var_jac
|
||||||
|
|
||||||
def predict_wishard_embedding(self, Xnew, kern=None, mean=True, covariance=True):
|
def predict_wishart_embedding(self, Xnew, kern=None, mean=True, covariance=True):
|
||||||
"""
|
"""
|
||||||
Predict the wishard embedding G of the GP. This is the density of the
|
Predict the wishart embedding G of the GP. This is the density of the
|
||||||
input of the GP defined by the probabilistic function mapping f.
|
input of the GP defined by the probabilistic function mapping f.
|
||||||
G = J_mean.T*J_mean + output_dim*J_cov.
|
G = J_mean.T*J_mean + output_dim*J_cov.
|
||||||
|
|
||||||
|
|
@ -425,6 +425,10 @@ class GP(Model):
|
||||||
G += Sigma
|
G += Sigma
|
||||||
return G
|
return G
|
||||||
|
|
||||||
|
def predict_wishard_embedding(self, Xnew, kern=None, mean=True, covariance=True):
|
||||||
|
warnings.warn("Wrong naming, use predict_wishart_embedding instead. Will be removed in future versions!", DeprecationWarning)
|
||||||
|
return self.predict_wishart_embedding(Xnew, kern, mean, covariance)
|
||||||
|
|
||||||
def predict_magnification(self, Xnew, kern=None, mean=True, covariance=True):
|
def predict_magnification(self, Xnew, kern=None, mean=True, covariance=True):
|
||||||
"""
|
"""
|
||||||
Predict the magnification factor as
|
Predict the magnification factor as
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue