python wrap

96 views
Skip to first unread message

tao ira

unread,
May 22, 2013, 2:57:39 PM5/22/13
to sequence...@googlegroups.com
Hello,

I have a question about the code in the file example/python_example.py, in which there is the line51  for prediction

Should the code be 
print model.predict(0,i,seq(i))
instead of
print model.predict(0,i,i)
?

Or are you trying to pass the index to predict function?

Thanks!

Jiangbo Yu

unread,
May 22, 2013, 8:41:31 PM5/22/13
to sequence...@googlegroups.com
Hi, Tao
     I guess you are right. I believe predict(0,i,i) is kind of wrong. It should be predict(0,i,seq[i]).
Thanks.
--
You received this message because you are subscribed to the Google Groups "Sequence Memoizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sequence-memoi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages