mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-24 14:15:14 +02:00
EP plots samples now for the phi transformation.
This commit is contained in:
parent
d1a0883c12
commit
29eb61d65e
5 changed files with 23 additions and 8 deletions
|
|
@ -43,6 +43,6 @@ print m.checkgrad()
|
|||
# Optimize and plot
|
||||
m.optimize()
|
||||
#m.em(plot_all=False) # EM algorithm
|
||||
m.plot()
|
||||
m.plot(samples=4)
|
||||
|
||||
print(m)
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ pb.ion()
|
|||
N = 500
|
||||
M = 5
|
||||
|
||||
pb.close('all')
|
||||
######################################
|
||||
## 1 dimensional example
|
||||
|
||||
|
|
@ -42,6 +43,7 @@ print m.checkgrad()
|
|||
#check gradient FIXME unit test please
|
||||
# optimize and plot
|
||||
#m.optimize('tnc', messages = 1)
|
||||
m.EM()
|
||||
m.plot(samples=3,full_cov=False)
|
||||
# print(m)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue