Hi, See the get_data function here: http://cse.iitkgp.ac.in/~psraja/Report/Code/training_testing.py
Ignore the first number, it is for some kind of book keeping The second number is the size of the feature for each timestep. So 15 must be the number of input cell in the LSTM The third number is the number of timesteps. The first 15 numbers after that will be input feature for timestep 1 Next 15 numbers after that will be input feature for timestep 2 and so on for 23 timesteps. You can verify this by seeing that the number of 1s and 0s is 15*23 It is good to see interest in my code after almost 2 years. I hadn't revisited it after completing my internship. I might just spend some time one day and document everything properly. But my suggestion is to try libraries like keras etc. Regards, Sudeep On Fri, Feb 19, 2016 at 12:55 PM, Sachin Garg <[email protected]> wrote: > Hi, > > Thanks for that. > > A quick question about the test.txt file (step 2). The file has: > > TAG:0010/0001_1#1 > TRUTH:0c0f 0c26 0c3f > FEATURE:1 15 23 1 1 1 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 1 1 > ... > > As I understand, the "TAG" is an identifier, while the "TRUTH" is the unicode > sequence. > Can you please tell me how to get the "FEATURE" part? > > Thanks, > Sachin > > On Thursday 18 February 2016 07:11 AM, abhay sharma wrote: > > http://cse.iitkgp.ac.in/~psraja/Report/HowToUse.html > > View explanation.pdf from this link. > > On Monday, May 19, 2014 at 5:13:10 PM UTC+5:30, sudeep raja putta wrote: >> >> I am trying to understand and reverse engineer LSTM in lstm.py. But there >> are many attributes with cryptic names >> >> What do the following names represent? >> >> WGI WGF WGO WIP WFP WOP cix ci gix gi gox go gfx gf >> source state output gierr gferr goerr cierr stateerr >> > -- > You received this message because you are subscribed to the Google Groups > "ocropus" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > <https://groups.google.com/d/msgid/ocropus/714b0580-c818-4c7f-8312-bb57744e251f%40googlegroups.com?utm_medium=email&utm_source=footer> > https://groups.google.com/d/msgid/ocropus/714b0580-c818-4c7f-8312-bb57744e251f%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "ocropus" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/ocropus/GO_XBDbiR3A/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ocropus/56C6C376.6030900%40masonlive.gmu.edu > <https://groups.google.com/d/msgid/ocropus/56C6C376.6030900%40masonlive.gmu.edu?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "ocropus" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ocropus/CAOQ6wRfy5SpwH7t7QOra5as-HOZYEpBcvOG%3D0n8-4xmfnYt0dw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
