mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-11 21:12:38 +02:00
some hacking on sparse_gp inference
This commit is contained in:
parent
ae03b63afb
commit
a31ff3acc3
3 changed files with 50 additions and 40 deletions
|
|
@ -48,9 +48,9 @@ class GP(Model):
|
|||
if inference_method is None:
|
||||
if isinstance(likelihood, likelihoods.Gaussian):
|
||||
inference_method = exact_gaussian_inference.ExactGaussianInference()
|
||||
else:
|
||||
inference_method = expectation_propagation
|
||||
print "defaulting to ", inference_method, "for latent function inference"
|
||||
else:
|
||||
inference_method = expectation_propagation
|
||||
print "defaulting to ", inference_method, "for latent function inference"
|
||||
self.inference_method = inference_method
|
||||
|
||||
self.add_parameter(self.kern)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue