mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-05 14:55:15 +02:00
state1
This commit is contained in:
parent
8638e05d81
commit
7072cfe7a0
1 changed files with 5 additions and 2 deletions
|
|
@ -129,12 +129,15 @@ class StateSpace_1(Model):
|
|||
m = H1.dot(M)
|
||||
#V1 = np.tensordot(H[0],P,(0,0))
|
||||
#V2 = np.tensordot(V1,H[0],(0,0))
|
||||
V=P[::F.shape[0],::F.shape[0],:]
|
||||
|
||||
#1st and 2nd dim, pick every 2nd elements
|
||||
V=P[::F.shape[0],::F.shape[0],:]
|
||||
|
||||
#V1 = np.tensordot(H1.T,P,(0,0))
|
||||
#V2 = np.tensordot(V1,H1,(1,1))
|
||||
#stop
|
||||
#V3 = V2[:,None]
|
||||
|
||||
|
||||
# Return the posterior of the state
|
||||
return (m, V)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue