mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-24 14:15:14 +02:00
Other change.
This commit is contained in:
parent
9972862ea2
commit
01f0378f84
1 changed files with 2 additions and 2 deletions
|
|
@ -29,8 +29,8 @@ m = GPy.models.GP(data['X'],likelihood=likelihood)
|
|||
m.ensure_default_constraints()
|
||||
|
||||
# Optimize and plot
|
||||
if not isinstance(m.likelihood,GPy.inference.likelihoods.gaussian):
|
||||
m.approximate_likelihood()
|
||||
#if not isinstance(m.likelihood,GPy.inference.likelihoods.gaussian):
|
||||
# m.approximate_likelihood()
|
||||
#m.optimize()
|
||||
m.EM()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue