Commits

Takafumi Arakaki  committed 1410a28

xo[t] = to[t] if t < fb_delay

  • Participants
  • Parent commits fe78020

Comments (0)

Files changed (1)

File pyrnn/elmannet.py

         fbr = self.fb_rate
         fbd = self.fb_delay
 
+        xo[:fbd] = to[:fbd]
         xc[fbd-1] = avc(uc[fbd-1])
         for t in self.ns.time_step[fbd:]:
             xi[t] = fbr * xo[t-fbd] + (1 - fbr) * to[t-fbd]