From 7072cfe7a0f370c3e7af361201e2402fdea27694 Mon Sep 17 00:00:00 2001 From: mu Date: Thu, 9 Jan 2014 17:14:31 +0000 Subject: [PATCH] state1 --- GPy/models/state_space_xt_sep.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/GPy/models/state_space_xt_sep.py b/GPy/models/state_space_xt_sep.py index 690f545b..d4d0e9df 100644 --- a/GPy/models/state_space_xt_sep.py +++ b/GPy/models/state_space_xt_sep.py @@ -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)