mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-01 15:52:39 +02:00
[link|unlink_parameter] renaming add_parameter to link_parameter
This commit is contained in:
parent
b9e897c50d
commit
4543fc3480
33 changed files with 90 additions and 83 deletions
|
|
@ -50,7 +50,7 @@ class SparseGP(GP):
|
|||
|
||||
GP.__init__(self, X, Y, kernel, likelihood, inference_method=inference_method, name=name, Y_metadata=Y_metadata, normalizer=normalizer)
|
||||
logger.info("Adding Z as parameter")
|
||||
self.add_parameter(self.Z, index=0)
|
||||
self.link_parameter(self.Z, index=0)
|
||||
|
||||
def has_uncertain_inputs(self):
|
||||
return isinstance(self.X, VariationalPosterior)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue