#NEWLINE# def predict( self , zpred , z , ts ) : #NEWLINE# #INDENT# ( T , N , D ) = z . shape #NEWLINE# S = ts . shape [ 0 ] #NEWLINE# zref = np . asarray ( zpred ) #NEWLINE# for s in range ( S ) : #NEWLINE# #INDENT# t = ts [ s ] #NEWLINE# zref [ ( t + 1 ) ] = zref [ t ] . dot ( N . A . T )